CurvePrimitiveType Type alias
Describes the concrete type of a CurvePrimitive. Each type name maps to a specific subclass and can be used for type-switching in conditional statements.
- "arc" => Arc3d
- "lineSegment" => LineSegment3d
- "lineString" => LineString3d
- "bsplineCurve" => BSplineCurve3dBase which is an intermediate class implemented by BSplineCurve3d and BSplineCurve3dH
- "bezierCurve" => BezierCurveBase which is an intermediate class implemented by BezierCurve3d and BezierCurve3dH
- "transitionSpiral" => TransitionSpiral3d
- "curveChainWithDistanceIndex" => CurveChainWithDistanceIndex
see AnyCurvePrimitive for a union type that supports compile-time type narrowing.
CurvePrimitiveType = "arc" | "lineSegment" | "lineString" | "bsplineCurve" | "bezierCurve" | "transitionSpiral" | "curveChainWithDistanceIndex" | "interpolationCurve" | "akimaCurve"
Defined in
- curve/CurvePrimitive.ts Line 51
Last Updated: 20 June, 2023