btPrimitiveTriangle Class Reference

#include <btTriangleShapeEx.h>

List of all members.

Public Member Functions

void applyTransform (const btTransform &t)
 btPrimitiveTriangle ()
SIMD_FORCE_INLINE void buildTriPlane ()
int clip_triangle (btPrimitiveTriangle &other, btVector3 *clipped_points)
 Clips the triangle against this.
bool find_triangle_collision_clip_method (btPrimitiveTriangle &other, GIM_TRIANGLE_CONTACT &contacts)
 Find collision using the clipping method.
SIMD_FORCE_INLINE void get_edge_plane (int edge_index, btVector4 &plane) const
 Calcs the plane which is paralele to the edge and perpendicular to the triangle plane.
bool overlap_test_conservative (const btPrimitiveTriangle &other)
 Test if triangles could collide.

Public Attributes

btScalar m_dummy
btScalar m_margin
btVector4 m_plane
btVector3 m_vertices [3]

Detailed Description

Definition at line 74 of file btTriangleShapeEx.h.


Constructor & Destructor Documentation

btPrimitiveTriangle::btPrimitiveTriangle (  )  [inline]

Definition at line 81 of file btTriangleShapeEx.h.


Member Function Documentation

void btPrimitiveTriangle::applyTransform ( const btTransform t  )  [inline]

Definition at line 108 of file btTriangleShapeEx.h.

SIMD_FORCE_INLINE void btPrimitiveTriangle::buildTriPlane (  )  [inline]

Definition at line 87 of file btTriangleShapeEx.h.

int btPrimitiveTriangle::clip_triangle ( btPrimitiveTriangle other,
btVector3 *  clipped_points 
)

Clips the triangle against this.

Precondition:
clipped_points must have MAX_TRI_CLIPPING size, and this triangle must have its plane calculated.
Returns:
the number of clipped points
bool btPrimitiveTriangle::find_triangle_collision_clip_method ( btPrimitiveTriangle other,
GIM_TRIANGLE_CONTACT contacts 
)

Find collision using the clipping method.

Precondition:
this triangle and other must have their triangles calculated
SIMD_FORCE_INLINE void btPrimitiveTriangle::get_edge_plane ( int  edge_index,
btVector4 plane 
) const [inline]

Calcs the plane which is paralele to the edge and perpendicular to the triangle plane.

Precondition:
this triangle must have its plane calculated.

Definition at line 101 of file btTriangleShapeEx.h.

bool btPrimitiveTriangle::overlap_test_conservative ( const btPrimitiveTriangle other  ) 

Test if triangles could collide.


Member Data Documentation

Definition at line 80 of file btTriangleShapeEx.h.

Definition at line 79 of file btTriangleShapeEx.h.

Definition at line 78 of file btTriangleShapeEx.h.

Definition at line 77 of file btTriangleShapeEx.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Fri Jan 11 10:11:05 2013