PeriDyno 1.0.0
Loading...
Searching...
No Matches
AdditiveCCD.inl File Reference
#include "Vector.h"
Include dependency graph for AdditiveCCD.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dyno
 This is an implementation of AdditiveCCD based on peridyno.
 

Macros

#define REAL_infinity   1.0e30
 
#define REAL_EQUAL(a, b)
 
#define REAL_GREAT(a, b)
 
#define REAL_LESS(a, b)
 
#define MAX_ITE   (500)
 

Functions

template<typename T>
DYN_FUNC T dyno::getPoint2SegmentDistance (const Vector< T, 3 > &p, const Vector< T, 3 > &v0, const Vector< T, 3 > &v1)
 
template<typename T>
DYN_FUNC bool dyno::inTri (const Vector< T, 3 > &p, const Vector< T, 3 > &v0, const Vector< T, 3 > &v1, const Vector< T, 3 > &v2)
 

Macro Definition Documentation

◆ MAX_ITE

#define MAX_ITE   (500)

Definition at line 9 of file AdditiveCCD.inl.

◆ REAL_EQUAL

#define REAL_EQUAL ( a,
b )
Value:
(((a < b + EPSILON) && (a > b - EPSILON)) ? true : false)

Definition at line 6 of file AdditiveCCD.inl.

◆ REAL_GREAT

#define REAL_GREAT ( a,
b )
Value:
((a > EPSILON + b)? true: false)

Definition at line 7 of file AdditiveCCD.inl.

◆ REAL_infinity

#define REAL_infinity   1.0e30

Definition at line 5 of file AdditiveCCD.inl.

◆ REAL_LESS

#define REAL_LESS ( a,
b )
Value:
((a + EPSILON < b)? true: false)

Definition at line 8 of file AdditiveCCD.inl.