v2.0
 
Curve3D Class Reference

Curve in three-dimensional space. More...

Public Member Functions

self Shift (number dx, number dy, number dz)
 Shifts the curve by the specified values ​​along the coordinate axes.
 
self Rotate (Axis3D axis, number angle)
 Rotates the curve around 'axis' by 'angle'.
 
self Scale (Point3D point, number xScale, number yScale, number zScale)
 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 startPoint, Point3D endPoint)
 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.