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. |
Defined in
Last Updated: 08 January, 2020