Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PhysxPlane Class Reference

Public Member Functions

 PhysxPlane (const PhysxPlane &plane)
 
bool belongs (const LPoint3f &p) const
 
float distance (const LPoint3f &p) const
 
float get_d () const
 
LVector3f get_normal () const
 
void inverse_transform (const LMatrix4f &transform, PhysxPlane &transformed) const
 
void normalize ()
 
LPoint3f point_in_plane () const
 
LPoint3f project (const LPoint3f &p) const
 
PhysxPlane set (const LPoint3f &p0, const LPoint3f &p1, const LPoint3f &p2)
 
void set_d (float d)
 
void set_normal (LVector3f normal)
 
void transform (const LMatrix4f &transform, PhysxPlane &transformed) const
 
PhysxPlane zero ()
 

Public Attributes

NxPlane _plane
 

Detailed Description

Definition at line 25 of file physxPlane.h.

Constructor & Destructor Documentation

◆ PhysxPlane() [1/2]

PhysxPlane::PhysxPlane ( )
inline

Definition at line 17 of file physxPlane.I.

◆ PhysxPlane() [2/2]

PhysxPlane::PhysxPlane ( const PhysxPlane & plane)
inline

Definition at line 25 of file physxPlane.I.

◆ ~PhysxPlane()

PhysxPlane::~PhysxPlane ( )
inline

Definition at line 34 of file physxPlane.I.

Member Function Documentation

◆ belongs()

bool PhysxPlane::belongs ( const LPoint3f & p) const

Definition at line 31 of file physxPlane.cxx.

◆ distance()

float PhysxPlane::distance ( const LPoint3f & p) const

Definition at line 20 of file physxPlane.cxx.

◆ get_d()

float PhysxPlane::get_d ( ) const

Definition at line 93 of file physxPlane.cxx.

◆ get_normal()

LVector3f PhysxPlane::get_normal ( ) const

Definition at line 111 of file physxPlane.cxx.

◆ inverse_transform()

void PhysxPlane::inverse_transform ( const LMatrix4f & transform,
PhysxPlane & transformed ) const

Definition at line 62 of file physxPlane.cxx.

◆ normalize()

void PhysxPlane::normalize ( )

Definition at line 73 of file physxPlane.cxx.

◆ point_in_plane()

LPoint3f PhysxPlane::point_in_plane ( ) const

Definition at line 42 of file physxPlane.cxx.

◆ project()

LPoint3f PhysxPlane::project ( const LPoint3f & p) const

Definition at line 51 of file physxPlane.cxx.

◆ set()

PhysxPlane PhysxPlane::set ( const LPoint3f & p0,
const LPoint3f & p1,
const LPoint3f & p2 )

Definition at line 131 of file physxPlane.cxx.

◆ set_d()

void PhysxPlane::set_d ( float d)

Definition at line 102 of file physxPlane.cxx.

◆ set_normal()

void PhysxPlane::set_normal ( LVector3f normal)

Definition at line 120 of file physxPlane.cxx.

◆ transform()

void PhysxPlane::transform ( const LMatrix4f & transform,
PhysxPlane & transformed ) const

Definition at line 82 of file physxPlane.cxx.

◆ zero()

PhysxPlane PhysxPlane::zero ( )

Definition at line 149 of file physxPlane.cxx.

Member Data Documentation

◆ _plane

NxPlane PhysxPlane::_plane

Definition at line 50 of file physxPlane.h.


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