UNPKG

@mlightcad/geometry-engine

Version:

The geometry-engine package provides comprehensive geometric entities, mathematical operations, and transformations for 2D and 3D space. This package mimics AutoCAD ObjectARX's AcGe (Geometry) classes and provides the mathematical foundation for CAD opera

27 lines 933 B
import { AcGePoint3d } from '../math/AcGePoint3d'; import { AcGeShape3d } from './AcGeShape3d'; /** * Abstract base class for all 3d curves. Any class that is derived from this class represents * a 3d curve. */ export declare abstract class AcGeCurve3d extends AcGeShape3d { /** * Return true if its start point is identical to its end point. Otherwise, return false. */ abstract get closed(): boolean; /** * Start point of this curve. If the curve is closed, coordinates of start point will be equal to coordinates * of end point. */ abstract get startPoint(): AcGePoint3d; /** * End point of this curve. If the curve is closed, coordinates of start point will be equal to coordinates * of end point. */ abstract get endPoint(): AcGePoint3d; /** * Length of this curve. */ abstract get length(): number; } //# sourceMappingURL=AcGeCurve3d.d.ts.map