findOrAddNormalInGrowableXYZArray 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.

findOrAddNormalInGrowableXYZArray(xyz: GrowableXYZArray, index: number, transform?: Transform, priorIndex?: number): undefined | number

Parameter Type Description
xyz GrowableXYZArray  
index number Index of the point in the linestring.
transform Transform  
priorIndex number  

Returns - undefined | number

Returns the point index in the Polyface.

Defined in

Last Updated: 12 June, 2024