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 - number

Returns the zero-based index of the added or reused point.

Defined in

Last Updated: 13 June, 2024