consolidateAdjacentPrimitives MethodStatic

Look for and simplify:

  • Contiguous LineSegment3d and LineString3d objects.
    • collect all points
    • eliminate duplicated points
    • eliminate points colinear with surrounding points.
  • Contiguous concentric circular or elliptic arcs
  • combine angular ranges

consolidateAdjacentPrimitives(curves: CurveCollection, options?: ConsolidateAdjacentCurvePrimitivesOptions): void

Parameter Type Description
curves CurveCollection Path or loop (or larger collection containing paths and loops) to be simplified
options ConsolidateAdjacentCurvePrimitivesOptions options for tolerance and selective simplification.

Returns - void

Defined in

Last Updated: 30 November, 2023