PxSphereGeometry Class Reference
[Geomutils]

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

#include <PxSphereGeometry.h>

Inheritance diagram for PxSphereGeometry:

Inheritance graph
PxGeometry
[legend]
Collaboration diagram for PxSphereGeometry:

Collaboration graph
PxGeometry
[legend]

List of all members.

Public Member Functions

PX_INLINE PxSphereGeometry ()
PX_INLINE PxSphereGeometry (PxReal ir)
PX_INLINE bool isValid () const
 Returns true if the geometry is valid.

Public Attributes

PxReal radius
 The radius of the sphere.


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

PX_INLINE PxSphereGeometry::PxSphereGeometry (  )  [inline]

PX_INLINE PxSphereGeometry::PxSphereGeometry ( PxReal  ir  )  [inline]


Member Data Documentation

The radius of the sphere.

Referenced by isValid(), and PxMassProperties::PxMassProperties().


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


Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com