Public Member Functions | Public Attributes | List of all members
PxSphereGeometry Class Reference

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

#include <PxSphereGeometry.h>

Inheritance diagram for PxSphereGeometry:
Inheritance graph
[legend]
Collaboration diagram for PxSphereGeometry:
Collaboration graph
[legend]

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

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

Member Data Documentation

PxReal PxSphereGeometry::radius

The radius of the sphere.


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


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