PeriDyno 1.0.0
Loading...
Searching...
No Matches
FastSweepingMethod.cpp File Reference
Include dependency graph for FastSweepingMethod.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define TRI_MIN(x, y, z)
 
#define TRI_MAX(x, y, z)
 

Functions

static float dyno::point_segment_distance (const Vec3f &x0, const Vec3f &x1, const Vec3f &x2)
 
static float dyno::point_triangle_distance (const Vec3f &x0, const Vec3f &x1, const Vec3f &x2, const Vec3f &x3)
 
static void dyno::FSM_CheckNeighbour (const CArray< Vec3ui > &tri, const CArray< Vec3f > &vert, CArray3f &phi, CArray3i &closest_tri, const Vec3f &gx, int i0, int j0, int k0, int i1, int j1, int k1)
 
static void dyno::sweep (const CArray< Vec3ui > &tri, const CArray< Vec3f > &x, CArray3f &phi, CArray3i &closest_tri, const Vec3f &origin, float dx, int di, int dj, int dk)
 
static int dyno::orientation (double x1, double y1, double x2, double y2, double &twice_signed_area)
 
static bool dyno::point_in_triangle_2d (double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double &a, double &b, double &c)
 
 dyno::DEFINE_CLASS (FastSweepingMethod)
 

Macro Definition Documentation

◆ TRI_MAX

#define TRI_MAX ( x,
y,
z )
Value:
std::max(x, std::max(y, z))

Definition at line 223 of file FastSweepingMethod.cpp.

◆ TRI_MIN

#define TRI_MIN ( x,
y,
z )
Value:
std::min(x, std::min(y, z))

Definition at line 222 of file FastSweepingMethod.cpp.