computePrincipalAreaMoments MethodStatic
Compute area moments for the mesh. In the returned MomentData:
- originis the centroid.
- localToWorldMaphas the origin and principal directions.
- radiiOfGyrationradii for rotation around the x,y,z axes.
computePrincipalAreaMoments(source: Polyface): undefined | MomentData
| Parameter | Type | Description | 
|---|---|---|
| source | Polyface | 
Returns - undefined | MomentData
Defined in
- polyface/PolyfaceQuery.ts Line 460
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.