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