addPoint Method
Add (a clone of) a point to point array.
addPoint(point: Point3d, priorIndex?: number): number
@returns the zero-based index of the added or duplicate point.
Parameter | Type | Description |
---|---|---|
point | Point3d | the point. |
priorIndex | number | (optional) index of prior point to check for possible duplicate value. |
Returns - number
the zero-based index of the added or duplicate point.
Defined in
- polyface/Polyface.ts Line 356
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.