|
|
self | Shift (number dx, number dy, number dz) |
| | Shifts the curve by the specified values along the coordinate axes.
|
| self | Shift (Vector3D vector) |
| | Shifts the curve by vector.
|
| 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.
|
| Vector3D | GetTangent (Point3D point) |
| | Calculates the tangent vector at a given point.
|
| number | GetLength () |
| | Returns the length of the curve.
|
| Point3D | GetPointAtDistance (number distance) |
| | Returns the point on the curve at a given distance from the start point.
|
| boolean | IsClosed () |
| | Checks if the curve is closed.
|
| self | Extend (EndType endType, number length) |
| | Extends the curve by the specified length.
|
| Point3D | GetPointProjection (Point3D point, boolean oExtension) |
| | Returns an orthogonal projection of the point to the curve. If there is more than one orthogonal point projection, the closest one is returned. If there is more than one projection at the same distance, the one closest to the start of the curve is returned.
|
Curve in three-dimensional space.