addPoint Method
add (a clone of ) a point. return its 0 based index.
addPoint(point: Point3d, priorIndex?: number): number
| Parameter | Type | Description |
|---|---|---|
| point | Point3d | point coordinates |
| priorIndex | number | optional index of prior point to check for repeated coordinates |
Returns - Returns the zero-based index of the added or reused point.
Defined in
Last Updated: 08 January, 2020