v1.1
 
Curve3D Class Reference

Curve in three-dimensional space. More...

Public Member Functions

self Shift (number dx, number dy, number dz)
 Shifts the curve.
 
self Rotate (Axis3D axis, number angle)
 Rotates the curve around 'axis' by 'angle'.
 
self Scale (Point3D point, number x_scale, number y_scale, number z_scale)
 Scales the curve along two axes relative to a fixed point.
 
self Transform (Matrix3D matrix)
 Transform according to the matrix.
 
Curve3D Clone ()
 Returns a copy of the curve.
 
self Trim (Point3D start_point, Point3D end_point)
 Trims the curve by two points.
 
self Invert ()
 Inverts the direction of the curve.
 
Point3D GetStartPoint ()
 Returns the start point of the curve.
 
Point3D GetEndPoint ()
 Returns the end point of the curve.
 
boolean operator== (Curve3D other)
 Checks for equality.
 
boolean operator~= (Curve3D other)
 Checks for inequality.
 

Detailed Description

Curve in three-dimensional space.

Member Function Documentation

◆ Rotate()

self Rotate ( Axis3D axis,
number angle )

Rotates the curve around 'axis' by 'angle'.

Parameters
axisAxis of rotation.
angleThe angle in radians.