RhinoCommon API
VolumeMassPropertiesWorldCoordinatesPrincipalMoments Method |
Calculates the eigenvalues and eigenvectors of moments matrix in world coordinates.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.9

public bool WorldCoordinatesPrincipalMoments( out double x, out Vector3d xaxis, out double y, out Vector3d yaxis, out double z, out Vector3d zaxis )
Public Function WorldCoordinatesPrincipalMoments ( <OutAttribute> ByRef x As Double, <OutAttribute> ByRef xaxis As Vector3d, <OutAttribute> ByRef y As Double, <OutAttribute> ByRef yaxis As Vector3d, <OutAttribute> ByRef z As Double, <OutAttribute> ByRef zaxis As Vector3d ) As Boolean
Parameters
- x
- Type: SystemDouble
Principal moment. - xaxis
- Type: Rhino.GeometryVector3d
Principal axis for x. - y
- Type: SystemDouble
Principal moment. - yaxis
- Type: Rhino.GeometryVector3d
Principal axis for y. - z
- Type: SystemDouble
Principal moment. - zaxis
- Type: Rhino.GeometryVector3d
Principal axis for z.
Return Value
Type: Booleantrue if successful.
