NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxSphereGeometry Class Reference

NVIDIA PhysX SDK 3.4 API

PxSphereGeometry Class Reference
[Geomutils]

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

#include <PxSphereGeometry.h>

Inheritance diagram for PxSphereGeometry:
Collaboration diagram for PxSphereGeometry:

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