RavEngine
Loading...
Searching...
No Matches
physx::PxIntegrals Struct Reference

Data structure used to store mass properties. More...

#include <GuCookingVolumeIntegration.h>

Collaboration diagram for physx::PxIntegrals:
[legend]

Public Member Functions

void getInertia (PxMat33 &inertia)
 Retrieve the inertia tensor relative to the center of mass.
 
void getOriginInertia (PxMat33 &inertia)
 Retrieve the inertia tensor relative to the origin.
 

Public Attributes

PxVec3 COM
 Center of mass.
 
PxF64 mass
 Total mass.
 
PxF64 inertiaTensor [3][3]
 Inertia tensor (mass matrix) relative to the origin.
 
PxF64 COMInertiaTensor [3][3]
 Inertia tensor (mass matrix) relative to the COM.
 

Detailed Description

Data structure used to store mass properties.

Member Function Documentation

◆ getInertia()

void physx::PxIntegrals::getInertia ( PxMat33 &  inertia)
inline

Retrieve the inertia tensor relative to the center of mass.

Parameters
inertiaInertia tensor.

◆ getOriginInertia()

void physx::PxIntegrals::getOriginInertia ( PxMat33 &  inertia)
inline

Retrieve the inertia tensor relative to the origin.

Parameters
inertiaInertia tensor.

The documentation for this struct was generated from the following file: