A helper structure for iterating over contact streams reported by PhysxContactPair. More...
#include "physxContactPoint.h"
Public Member Functions | |
| virtual TypeHandle | force_init_type () |
| unsigned int | get_feature_index0 () const |
| Retrieves the feature index. More... | |
| unsigned int | get_feature_index1 () const |
| Retrieves the feature index. More... | |
| LVector3f | get_normal () const |
| Retrieves the patch normal. More... | |
| float | get_normal_force () const |
| Retrieves the point normal force. More... | |
| LPoint3f | get_point () const |
| Returns the contact point position. More... | |
| float | get_separation () const |
| Return the separation for the contact point. More... | |
| virtual TypeHandle | get_type () const |
| void | set (NxContactStreamIterator it) |
Public Member Functions inherited from TypedObject | |
| TypedObject (const TypedObject ©)=default | |
| TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
| const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
| int | get_best_parent_from_Set (const std::set< int > &) const |
| int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
| bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly. More... | |
| bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type. More... | |
| TypedObject & | operator= (const TypedObject ©)=default |
Static Public Member Functions | |
| static PhysxContactPoint | empty () |
| static TypeHandle | get_class_type () |
| static void | init_type () |
Static Public Member Functions inherited from TypedObject | |
| static TypeHandle | get_class_type () |
| static void | init_type () |
| This function is declared non-inline to work around a compiler bug in g++ 2.96. More... | |
Additional Inherited Members | |
Public Attributes inherited from TypedObject | |
| get_type | |
A helper structure for iterating over contact streams reported by PhysxContactPair.
Definition at line 29 of file physxContactPoint.h.
| unsigned int PhysxContactPoint::get_feature_index0 | ( | ) | const |
Retrieves the feature index.
Definition at line 84 of file physxContactPoint.cxx.
| unsigned int PhysxContactPoint::get_feature_index1 | ( | ) | const |
Retrieves the feature index.
Definition at line 93 of file physxContactPoint.cxx.
| LVector3f PhysxContactPoint::get_normal | ( | ) | const |
Retrieves the patch normal.
Definition at line 57 of file physxContactPoint.cxx.
References PhysxManager::nxVec3_to_vec3().
| float PhysxContactPoint::get_normal_force | ( | ) | const |
Retrieves the point normal force.
Definition at line 66 of file physxContactPoint.cxx.
| LPoint3f PhysxContactPoint::get_point | ( | ) | const |
Returns the contact point position.
Definition at line 48 of file physxContactPoint.cxx.
References PhysxManager::nxVec3_to_point3().
| float PhysxContactPoint::get_separation | ( | ) | const |
Return the separation for the contact point.
Definition at line 75 of file physxContactPoint.cxx.
1.8.15