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

NVIDIA PhysX API

PxPlaneGeometry Class Reference
[Geomutils]

Class describing a plane geometry. More...

#include <PxPlaneGeometry.h>

Inheritance diagram for PxPlaneGeometry:
Collaboration diagram for PxPlaneGeometry:

List of all members.


Public Member Functions

PX_INLINE PxPlaneGeometry ()
PX_INLINE bool isValid () const
 Returns true if the geometry is valid.

Detailed Description

Class describing a plane geometry.

The plane geometry specifies the half-space volume x<=0. As with other geometry types, when used in a PxShape the collision volume is obtained by transforming the halfspace by the shape local pose and the actor global pose.

To generate a PxPlane from a PxTransform, transform PxPlane(1,0,0,0).

To generate a PxTransform from a PxPlane, use PxTransformFromPlaneEquation.

See also:
PxShape.setGeometry() PxShape.getPlaneGeometry() PxTransformFromPlaneEquation

Constructor & Destructor Documentation

PX_INLINE PxPlaneGeometry::PxPlaneGeometry (  )  [inline]


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