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): undefined | Vector3d
| Parameter | Type | Description |
|---|---|---|
| visitor | PolyfaceVisitor | |
| facetIndex | number | |
| result | Vector3d |
Returns - undefined | Vector3d
Defined in
- polyface/PolyfaceQuery.ts Line 1935
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.