areEquivalentPrincipalAxes MethodStatic

Test for match among selected members as they exist after inertiaProductsToPrincipalAxes

  • The members considered are
    • origin of local to world map (i.e. centroid)
    • radius of gyration
    • axes of localToWorldMap.
  • Axis direction tests allow these quirks:
    • opposite orientation is considered matched.
  • Full xyz symmetry: If x,y,z radii are matched, axes are not tested.
  • Symmetry in xy plane: If x and y radii are matched, the x and y axes area allowed to spin freely. Only Z direction is tested.
  • If either or both are undefined, returns false.

areEquivalentPrincipalAxes(dataA: MomentData | undefined, dataB: MomentData | undefined): boolean

Parameter Type Description
dataA MomentData | undefined first set of moments
dataB MomentData | undefined second set of moments

Returns - boolean

Defined in

Last Updated: 13 June, 2024