PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::TSeparationData< Real > Class Template Reference

#include <CollisionDetectionAlgorithm.h>

Collaboration diagram for dyno::TSeparationData< Real >:

Public Member Functions

DYN_FUNC void reverse ()
 
DYN_FUNC Real depth ()
 
DYN_FUNC Vector< Real, 3 > normal ()
 
DYN_FUNC SeparationType type ()
 
DYN_FUNC SeparationType face ()
 
DYN_FUNC Vector< Real, 3 > point (int i)
 
DYN_FUNC Vector< Real, 3 > pointA ()
 
DYN_FUNC Vector< Real, 3 > pointB ()
 
DYN_FUNC Triangle3D tri ()
 
DYN_FUNC Rectangle3D rect ()
 
DYN_FUNC void update (SeparationType type, Real BoundaryA, Real BoundaryB, Real Depth, Vec3f N, Vec3f a0, Vec3f a1, Vec3f a2=Vec3f(0.), Vec3f a3=Vec3f(0.))
 

Private Types

using Tet3D = TTet3D<Real>
 
using Sphere3D = TSphere3D<Real>
 
using Segment3D = TSegment3D<Real>
 
using OBox3D = TOrientedBox3D<Real>
 
using Capsule3D = TCapsule3D<Real>
 
using Triangle3D = TTriangle3D<Real>
 
using Rectangle3D = TRectangle3D<Real>
 

Private Attributes

Vector< Real, 3 > separation_normal
 
Vector< Real, 3 > separation_point [4]
 
Real separation_distance = -REAL_INF
 
SeparationType separation_type = CT_POINT
 
int separation_flag = 0
 

Detailed Description

template<typename Real>
class dyno::TSeparationData< Real >

Definition at line 18 of file CollisionDetectionAlgorithm.h.

Member Typedef Documentation

◆ Capsule3D

template<typename Real>
using dyno::TSeparationData< Real >::Capsule3D = TCapsule3D<Real>
private

Definition at line 24 of file CollisionDetectionAlgorithm.h.

◆ OBox3D

template<typename Real>
using dyno::TSeparationData< Real >::OBox3D = TOrientedBox3D<Real>
private

Definition at line 23 of file CollisionDetectionAlgorithm.h.

◆ Rectangle3D

template<typename Real>
using dyno::TSeparationData< Real >::Rectangle3D = TRectangle3D<Real>
private

Definition at line 26 of file CollisionDetectionAlgorithm.h.

◆ Segment3D

template<typename Real>
using dyno::TSeparationData< Real >::Segment3D = TSegment3D<Real>
private

Definition at line 22 of file CollisionDetectionAlgorithm.h.

◆ Sphere3D

template<typename Real>
using dyno::TSeparationData< Real >::Sphere3D = TSphere3D<Real>
private

Definition at line 21 of file CollisionDetectionAlgorithm.h.

◆ Tet3D

template<typename Real>
using dyno::TSeparationData< Real >::Tet3D = TTet3D<Real>
private

Definition at line 20 of file CollisionDetectionAlgorithm.h.

◆ Triangle3D

template<typename Real>
using dyno::TSeparationData< Real >::Triangle3D = TTriangle3D<Real>
private

Definition at line 25 of file CollisionDetectionAlgorithm.h.

Member Function Documentation

◆ depth()

template<typename Real>
DYN_FUNC Real dyno::TSeparationData< Real >::depth ( )
inline

Definition at line 38 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ face()

template<typename Real>
DYN_FUNC SeparationType dyno::TSeparationData< Real >::face ( )
inline

Definition at line 41 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ normal()

template<typename Real>
DYN_FUNC Vector< Real, 3 > dyno::TSeparationData< Real >::normal ( )
inline

Definition at line 39 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ point()

template<typename Real>
DYN_FUNC Vector< Real, 3 > dyno::TSeparationData< Real >::point ( int i)
inline

Definition at line 43 of file CollisionDetectionAlgorithm.h.

◆ pointA()

template<typename Real>
DYN_FUNC Vector< Real, 3 > dyno::TSeparationData< Real >::pointA ( )
inline

Definition at line 44 of file CollisionDetectionAlgorithm.h.

◆ pointB()

template<typename Real>
DYN_FUNC Vector< Real, 3 > dyno::TSeparationData< Real >::pointB ( )
inline

Definition at line 45 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ rect()

template<typename Real>
DYN_FUNC Rectangle3D dyno::TSeparationData< Real >::rect ( )
inline

Definition at line 47 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ reverse()

template<typename Real>
DYN_FUNC void dyno::TSeparationData< Real >::reverse ( )
inline

Definition at line 36 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ tri()

template<typename Real>
DYN_FUNC Triangle3D dyno::TSeparationData< Real >::tri ( )
inline

Definition at line 46 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ type()

template<typename Real>
DYN_FUNC SeparationType dyno::TSeparationData< Real >::type ( )
inline

Definition at line 40 of file CollisionDetectionAlgorithm.h.

Here is the caller graph for this function:

◆ update()

template<typename Real>
DYN_FUNC void dyno::TSeparationData< Real >::update ( SeparationType type,
Real BoundaryA,
Real BoundaryB,
Real Depth,
Vec3f N,
Vec3f a0,
Vec3f a1,
Vec3f a2 = Vec3f(0.),
Vec3f a3 = Vec3f(0.) )
inline

Definition at line 49 of file CollisionDetectionAlgorithm.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ separation_distance

template<typename Real>
Real dyno::TSeparationData< Real >::separation_distance = -REAL_INF
private

Definition at line 31 of file CollisionDetectionAlgorithm.h.

◆ separation_flag

template<typename Real>
int dyno::TSeparationData< Real >::separation_flag = 0
private

Definition at line 33 of file CollisionDetectionAlgorithm.h.

◆ separation_normal

template<typename Real>
Vector<Real, 3> dyno::TSeparationData< Real >::separation_normal
private

Definition at line 29 of file CollisionDetectionAlgorithm.h.

◆ separation_point

template<typename Real>
Vector<Real, 3> dyno::TSeparationData< Real >::separation_point[4]
private

Definition at line 30 of file CollisionDetectionAlgorithm.h.

◆ separation_type

template<typename Real>
SeparationType dyno::TSeparationData< Real >::separation_type = CT_POINT
private

Definition at line 32 of file CollisionDetectionAlgorithm.h.


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