unitNormal MethodStatic

Return a unit normal to the plane of the polygon.

unitNormal(points: IndexedXYZCollection, result: Vector3d): boolean

Parameter Type Description
points IndexedXYZCollection array of points around the polygon. This is assumed to NOT have closure edge.
result Vector3d caller-allocated result vector.

Returns - boolean

Defined in

Last Updated: 13 June, 2024