TCompoundProperties

The TCompoundProperties structure represents the compound properties of a collection of objects.

typedef struct {

int Size;

double Mass;

TVector CentreOfMass;

TMatrix MassMomentOfInertia;

double Volume;

TVector CentreOfVolume;

} TCompoundProperties;

Members

Size

Specifies the size, in bytes, of this data structure. Set this member to sizeof(TCompoundProperties) before calling a function with a TCompoundProperties parameter.

Mass

The total mass of the objects.

CentreOfMass

The centre of mass of the objects, with respect to the axes of the reference object.

MassMomentOfInertia

The mass moment of inertia of the objects, reported as a tensor, with respect to the axes of the reference object, through the centre of mass.

Volume

The total volume of the objects.

CentreOfVolume

The centre of volume of the objects, with respect to the axes of the reference object.

See also

C_GetCompoundProperties.