Public Member Functions | Public Attributes
GIM_TRIANGLE_CONTACT_DATA Struct Reference

Structure for collision. More...

#include <gim_tri_collision.h>

List of all members.

Public Member Functions

SIMD_FORCE_INLINE void copy_from (const GIM_TRIANGLE_CONTACT_DATA &other)
 GIM_TRIANGLE_CONTACT_DATA ()
 GIM_TRIANGLE_CONTACT_DATA (const GIM_TRIANGLE_CONTACT_DATA &other)
SIMD_FORCE_INLINE void merge_points (const btVector4 &plane, GREAL margin, const btVector3 *points, GUINT point_count)
 classify points that are closer
template<typename DISTANCE_FUNC , typename CLASS_PLANE >
SIMD_FORCE_INLINE void mergepoints_generic (const CLASS_PLANE &plane, GREAL margin, const btVector3 *points, GUINT point_count, DISTANCE_FUNC distance_func)
 classify points that are closer

Public Attributes

GREAL m_penetration_depth
GUINT m_point_count
btVector3 m_points [MAX_TRI_CLIPPING]
btVector4 m_separating_normal

Detailed Description

Structure for collision.

Definition at line 45 of file gim_tri_collision.h.


Constructor & Destructor Documentation

Definition at line 64 of file gim_tri_collision.h.

Definition at line 68 of file gim_tri_collision.h.


Member Function Documentation

Definition at line 52 of file gim_tri_collision.h.

SIMD_FORCE_INLINE void GIM_TRIANGLE_CONTACT_DATA::merge_points ( const btVector4 plane,
GREAL  margin,
const btVector3 *  points,
GUINT  point_count 
) [inline]

classify points that are closer

Definition at line 115 of file gim_tri_collision.h.

template<typename DISTANCE_FUNC , typename CLASS_PLANE >
SIMD_FORCE_INLINE void GIM_TRIANGLE_CONTACT_DATA::mergepoints_generic ( const CLASS_PLANE &  plane,
GREAL  margin,
const btVector3 *  points,
GUINT  point_count,
DISTANCE_FUNC  distance_func 
) [inline]

classify points that are closer

Definition at line 78 of file gim_tri_collision.h.


Member Data Documentation

Definition at line 47 of file gim_tri_collision.h.

Definition at line 48 of file gim_tri_collision.h.

Definition at line 50 of file gim_tri_collision.h.

Definition at line 49 of file gim_tri_collision.h.


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


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:33