findOrAddPointInLineString Method
Announce point coordinates. The implementation is free to either create a new point or (if known) return index of a prior point with the same coordinates.
findOrAddPointInLineString(ls: LineString3d, index: number, transform?: Transform, priorIndex?: number): number | undefined
Parameter | Type | Description |
---|---|---|
ls | LineString3d | |
index | number | Index of the point in the linestring. |
transform | Transform | |
priorIndex | number |
Returns - Returns the point index in the Polyface.
Defined in
Last Updated: 08 January, 2020