convertLocalToGlobalDetail MethodStatic
Convert the segment detail to a linestring detail:
detail.childDetailis set to a clone of the input segment detail (optionally populating pre-allocatedchildobject).childDetail.ais set tosegmentIndex.detail.fractionis set to the global linestring parameter.detail.curveis set to the parent linestring.
convertLocalToGlobalDetail(detail: CurveLocationDetail, segmentIndex: number, numSegment: number, parent?: LineString3d, child?: CurveLocationDetail): CurveLocationDetail
@returns reference to input detail, with both linestring and segment data
| Parameter | Type | Description |
|---|---|---|
| detail | CurveLocationDetail | segment location detail, converted in place |
| segmentIndex | number | index of segment in the linestring |
| numSegment | number | linestring segment count |
| parent | LineString3d | optional linestring primitive |
| child | CurveLocationDetail | optional pre-allocated detail to use to clone the child data |
Returns - CurveLocationDetail
reference to input detail, with both linestring and segment data
Defined in
- curve/LineString3d.ts Line 1502
Last Updated: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.