API Reference > geometry-core > Polyface > PolyfaceQuery > computePrincipalVolumeMoments computePrincipalVolumeMoments MethodStatic Compute area moments for the mesh. In the returned MomentData: origin is the centroid. localToWorldMap has the origin and principal directions radiiOfGyration radii for rotation around the x,y,z axes. The result is only valid if the mesh is closed. There is no test for closure. Use PolyfaceQuery.isPolyfaceClosedByEdgePairing(polyface) to test for closure. computePrincipalVolumeMoments(source: Polyface): MomentData | undefined Parameter Type Description source Polyface Returns - MomentData | undefined Defined in core/geometry/src/polyface/PolyfaceQuery.ts Line 240 Last Updated: 13 June, 2024