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: undefined | number, closed: undefined | boolean, isChordLenKnots: undefined | number, isColinearTangents: undefined | number, isChordLenTangent: undefined | number, isNaturalTangents: undefined | number, startTangent: undefined | Vector3d, endTangent: undefined | 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: undefined | InterpolationCurve3dOptions, dataB: undefined | 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

Last Updated: 20 June, 2023