@twinfinity/geometryFunctionscleanupSegmentscleanupSegments CallablecleanupSegments(segments: Segment3[], eps?: number): { polylines: PlaneSectionPolyline[]; segments: Segment3[] }Welds raw section segments by merging coincident vertices and returning a cleaned set of segments alongside reconstructed polylines.Parameterssegments: Segment3[]eps: number = DEFAULT_EPSReturns { polylines: PlaneSectionPolyline[]; segments: Segment3[] }polylines: PlaneSectionPolyline[]segments: Segment3[]
Welds raw section segments by merging coincident vertices and returning a cleaned set of segments alongside reconstructed polylines.