findOrAddParamInGrowableXYArray Method

Announce param coordinates. The implementation is free to either create a new param or (if known) return index of a prior point with the same coordinates.

findOrAddParamInGrowableXYArray(data: GrowableXYArray, index: number): undefined | number

Parameter Type Description
data GrowableXYArray  
index number Index of the param in the linestring.

Returns - undefined | number

Returns the point index in the Polyface.

Defined in

Last Updated: 11 June, 2024