PxSphereGeometry Class Reference

A class representing the geometry of a sphere. More...

#include <PxSphereGeometry.h>

Inheritance diagram for PxSphereGeometry:
Collaboration diagram for PxSphereGeometry:

Public Member Functions

PX_INLINE PxSphereGeometry ()
 
PX_INLINE PxSphereGeometry (PxReal ir)
 
PX_INLINE bool isValid () const
 Returns true if the geometry is valid. More...
 
- Public Member Functions inherited from PxGeometry
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometryType::Enum getType () const
 Returns the type of the geometry. More...
 

Public Attributes

PxReal radius
 The radius of the sphere. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PxGeometry
PX_CUDA_CALLABLE PX_FORCE_INLINE PxGeometry (PxGeometryType::Enum type)
 
- Protected Attributes inherited from PxGeometry
PxGeometryType::Enum mType
 

Detailed Description

A class representing the geometry of a sphere.

Spheres are defined by their radius.

Note
The scaling of the sphere is expected to be baked into this value, there is no additional scaling parameter.

Constructor & Destructor Documentation

◆ PxSphereGeometry() [1/2]

PX_INLINE PxSphereGeometry::PxSphereGeometry ( )
inline

◆ PxSphereGeometry() [2/2]

PX_INLINE PxSphereGeometry::PxSphereGeometry ( PxReal  ir)
inline

Member Data Documentation

◆ radius

PxReal PxSphereGeometry::radius

The radius of the sphere.

Referenced by PxMassProperties::PxMassProperties().


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