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

Last Updated: 21 November, 2024