InterpolationCurve3dOptions Class
fitPoints and end condition data for InterpolationCurve3d
- This is a "typed object" version of the serializer-friendly InterpolationCurve3dProps
- Typical use cases rarely require all parameters, so the constructor does not itemize them as parameters.
Methods
Name | Description | |
---|---|---|
constructor(fitPoints?: Point3d[], knots?: number[]): InterpolationCurve3dOptions | Constructor. | |
captureOptionalProps(order: number, closed: boolean, isChordLenKnots: number, isColinearTangents: number, isChordLenTangent: number, isNaturalTangents: number, startTangent: Vector3d, endTangent: Vector3d): void | One step setup of properties not named in constructor. | |
clone(): InterpolationCurve3dOptions | Clone with strongly typed members reduced to simple json. | |
cloneAsInterpolationCurve3dProps(): InterpolationCurve3dProps | Clone with strongly typed members reduced to simple json, with "undefined" members omitted | |
reverseInPlace(): void | reverse the order or sense of all start-to-end related properties. | |
areAlmostEqual(dataA: InterpolationCurve3dOptions, dataB: InterpolationCurve3dOptions): boolean Static | ||
create(source: InterpolationCurve3dProps): InterpolationCurve3dOptions Static | Clone with strongly typed members reduced to simple json. |
Properties
Name | Type | Description | |
---|---|---|---|
closed Accessor | boolean | closed as property |
|
endTangent Accessor | undefined | Vector3d | access POSSIBLY UNDEFINED end tangent. | |
fitPoints Accessor | Point3d[] | access POINTER TO fit points. | |
isChordLenKnots Accessor | number | isChordLenKnots as property |
|
isChordLenTangents Accessor | number | isChordLenTangents as property |
|
isColinearTangents Accessor | number | isColinearTangents as property |
|
isNaturalTangents Accessor | number | isNaturalTangents as property |
|
knots Accessor | undefined | number[] | access POSSIBLY UNDEFINED knots array. | |
order Accessor | number | order as property |
|
startTangent Accessor | undefined | Vector3d | access POSSIBLY UNDEFINED start tangent. |
Defined in
- bspline/InterpolationCurve3d.ts Line 55
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.