unitNormal MethodStatic

Return a unit normal to the plane of the polygon.

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

@returns true if and only if result has unit length

Parameter Type Description
points IndexedXYZCollection array of points around the polygon.
result Vector3d caller-allocated result vector.

Returns - boolean

true if and only if result has unit length

Defined in

Last Updated: 14 November, 2024