Public Member Functions | Public Attributes | List of all members
fcl::ContactPoint< S > Struct Template Reference

Minimal contact information returned by collision. More...

#include <contact_point.h>

Public Member Functions

 ContactPoint ()
 Constructor. More...
 
 ContactPoint (const Vector3< S > &n_, const Vector3< S > &p_, S d_)
 Constructor. More...
 

Public Attributes

Vector3< S > normal
 Contact normal, pointing from o1 to o2. More...
 
penetration_depth
 Penetration depth. More...
 
Vector3< S > pos
 Contact position, in world space. More...
 

Detailed Description

template<typename S>
struct fcl::ContactPoint< S >

Minimal contact information returned by collision.

Definition at line 48 of file contact_point.h.

Constructor & Destructor Documentation

◆ ContactPoint() [1/2]

template<typename S >
fcl::ContactPoint< S >::ContactPoint

Constructor.

Definition at line 61 of file contact_point-inl.h.

◆ ContactPoint() [2/2]

template<typename S >
fcl::ContactPoint< S >::ContactPoint ( const Vector3< S > &  n_,
const Vector3< S > &  p_,
d_ 
)

Constructor.

Definition at line 71 of file contact_point-inl.h.

Member Data Documentation

◆ normal

template<typename S >
Vector3<S> fcl::ContactPoint< S >::normal

Contact normal, pointing from o1 to o2.

Definition at line 51 of file contact_point.h.

◆ penetration_depth

template<typename S >
S fcl::ContactPoint< S >::penetration_depth

Penetration depth.

Definition at line 57 of file contact_point.h.

◆ pos

template<typename S >
Vector3<S> fcl::ContactPoint< S >::pos

Contact position, in world space.

Definition at line 54 of file contact_point.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50