public void setNode ( int number , double x , double y ) { if ( number <= 0 ) number = 0 ; if ( number >= 3 ) number = 3 ; this . points [ number * 3 ] = ( float ) x ; this . points [ number * 3 + 1 ] = ( float ) y ; this . points [ number * 3 + 2 ] = 0 ; set ( ) ; }
Sets x y z - coordinate of nodes of this Curve .