areaNormalGo MethodStatic
Compute the area and normal of the polygon, packaged as a vector.
- This is just areaNormal with expanded return type.
areaNormalGo(points: IndexedXYZCollection, result?: Vector3d): undefined | Vector3d
@returns polygon normal with magnitude equal to polygon area, or undefined if colinear/insufficient points.
| Parameter | Type | Description |
|---|---|---|
| points | IndexedXYZCollection | polygon vertices, closure point optional. Polygon can be in any plane. |
| result | Vector3d | optional pre-allocated vector to populate and return. |
Returns - undefined | Vector3d
polygon normal with magnitude equal to polygon area, or undefined if colinear/insufficient points.
Defined in
- geometry3d/PolygonOps.ts Line 498
Last Updated: 29 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.