Click or drag to resize

AreaMassPropertiesWorldCoordinatesPrincipalMoments Method

Calculates the principal moments and principal axes with repect to world coordinates. These are simply the eigenvalues and eigenvectors of the world coordinate inertia matrix.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool WorldCoordinatesPrincipalMoments(
	out double x,
	out Vector3d xaxis,
	out double y,
	out Vector3d yaxis,
	out double z,
	out Vector3d zaxis
)

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: Boolean
true if successful.
Version Information

Rhino for Windows

Supported in: 6.18
See Also