API Reference > geometry-core > Numerics > MomentData > inertiaProductsToPrincipalAxes inertiaProductsToPrincipalAxes MethodStatic Compute principal axes from inertial products The radii of gyration are sorted smallest to largest Hence x axis is long direction Hence planar data generates large moment as Z inertiaProductsToPrincipalAxes(origin: XYZ, inertiaProducts: Matrix4d): MomentData | undefined Parameter Type Description origin XYZ The origin used for the inertia products. inertiaProducts Matrix4d The inertia products -- sums or integrals of [xx,xy,xz,xw; yx,yy, yz,yw; zx,zy,zz,zw; wx,wy,wz,w] Returns - MomentData | undefined Defined in core/geometry/src/geometry4d/MomentData.ts Line 180 Last Updated: 13 June, 2024