sch::CD_Depth Class Reference

#include <sch/CD_Penetration/CD_Depth.h>

Collaboration diagram for sch::CD_Depth:

Public Member Functions

SCH_API CD_Depth (S_Object *Obj1, S_Object *Obj2)
 
virtual SCH_API ~CD_Depth (void)
 
SCH_API void setRelativePrecision (Scalar)
 sets the relative precision of the proximity queries to a given value. Default is 1e-3 More...
 
SCH_API void setEpsilon (Scalar)
 Sets the machine epsilon. Default is 1e-24. More...
 
SCH_API Scalar getPenetrationDepth (Vector3 &v, Point3 &p1, Point3 &p2, const CD_SimplexEnhanced &s, const CD_Simplex &s1_, const CD_Simplex &s2_)
 

Protected Attributes

S_ObjectsObj1_
 
S_ObjectsObj2_
 
Scalar precision_
 
Scalar epsilon_
 

Constructor & Destructor Documentation

◆ CD_Depth()

SCH_API sch::CD_Depth::CD_Depth ( S_Object Obj1,
S_Object Obj2 
)

◆ ~CD_Depth()

virtual SCH_API sch::CD_Depth::~CD_Depth ( void  )
virtual

Member Function Documentation

◆ getPenetrationDepth()

SCH_API Scalar sch::CD_Depth::getPenetrationDepth ( Vector3 v,
Point3 p1,
Point3 p2,
const CD_SimplexEnhanced s,
const CD_Simplex s1_,
const CD_Simplex s2_ 
)

◆ setEpsilon()

SCH_API void sch::CD_Depth::setEpsilon ( Scalar  )

Sets the machine epsilon. Default is 1e-24.

◆ setRelativePrecision()

SCH_API void sch::CD_Depth::setRelativePrecision ( Scalar  )

sets the relative precision of the proximity queries to a given value. Default is 1e-3

Member Data Documentation

◆ epsilon_

Scalar sch::CD_Depth::epsilon_
protected

◆ precision_

Scalar sch::CD_Depth::precision_
protected

◆ sObj1_

S_Object* sch::CD_Depth::sObj1_
protected

◆ sObj2_

S_Object* sch::CD_Depth::sObj2_
protected

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