computeFacetUnitNormal MethodStatic
Try to compute a unit normal for a facet accessible through a visitor.
- Unit normal is computed by
PolygonOps.unitNormalwith the points around the facet.
computeFacetUnitNormal(visitor: PolyfaceVisitor, facetIndex: number, result?: Vector3d): Vector3d | undefined
| Parameter | Type | Description |
|---|---|---|
| visitor | PolyfaceVisitor | |
| facetIndex | number | |
| result | Vector3d |
Defined in
Last Updated: 08 January, 2020