AGX Dynamics  2.37.3.2
agxCollide::agxGeometryQueries Namespace Reference

Implementations. More...

Classes

class  Line
 An infinite line, defined by a starting point and a (not necessarily normalized) direction. More...
 
class  LineSegment
 A line segment. Note that the direction does not have to be normalized. More...
 
class  SweptLineSegment
 A line segment that is swept in time from t=0 to t=1. More...
 

Functions

bool AGXPHYSICS_EXPORT pointsAreIdentical (const agx::Vec3 &point0, const agx::Vec3 &point1)
 Tests if two points are identical given agxGeometryQueries::geometricEpsilon. More...
 

Variables

const agx::Real geometricEpsilon = agx::Real(1.0e-6)
 
class AGXPHYSICS_EXPORT LineSegment
 

Detailed Description

Implementations.

Function Documentation

◆ pointsAreIdentical()

bool agxCollide::agxGeometryQueries::pointsAreIdentical ( const agx::Vec3 &  point0,
const agx::Vec3 &  point1 
)

Tests if two points are identical given agxGeometryQueries::geometricEpsilon.

Parameters
point0The first point.
point1The second point.
Return values
Arethe two points are identical given agxGeometryQueries::geometricEpsilon?

Definition at line 236 of file LineSegmentIntersectionFinder.h.

References geometricEpsilon.

Referenced by agxCollide::agxGeometryQueries::Line::containsPoint().

Variable Documentation

◆ geometricEpsilon

const agx::Real agxCollide::agxGeometryQueries::geometricEpsilon = agx::Real(1.0e-6)

Definition at line 33 of file LineSegmentIntersectionFinder.h.

Referenced by pointsAreIdentical().

◆ LineSegment