CD_Depth.h
Go to the documentation of this file.
1 #ifndef _CD_DEPTH
2 #define _CD_DEPTH
3 
4 #pragma once
7 #include <sch/sch_api.h>
8 
9 namespace sch
10 {
11 
12 class CD_Depth
13 {
14 
15 protected:
18 
20 
21 public:
22  SCH_API CD_Depth(S_Object * Obj1, S_Object * Obj2);
23  SCH_API virtual ~CD_Depth(void);
24 
29 
34 
36  Point3 & p1,
37  Point3 & p2,
38  const CD_SimplexEnhanced & s,
39  const CD_Simplex & s1_,
40  const CD_Simplex & s2_);
41 };
42 
43 } // namespace sch
44 
45 #endif
sch::CD_SimplexEnhanced
Definition: CD_SimplexEnhanced.h:10
sch
Definition: CD_Pair.h:11
SCH_API
#define SCH_API
Definition: sch_api.h:13
sch::CD_Depth::setEpsilon
SCH_API void setEpsilon(Scalar)
Sets the machine epsilon. Default is 1e-24.
sch::CD_Depth::epsilon_
Scalar epsilon_
Definition: CD_Depth.h:19
CD_SimplexEnhanced.h
sch::CD_Depth::sObj2_
S_Object * sObj2_
Definition: CD_Depth.h:17
sch::CD_Depth
Definition: CD_Depth.h:12
sch::CD_Depth::getPenetrationDepth
SCH_API Scalar getPenetrationDepth(Vector3 &v, Point3 &p1, Point3 &p2, const CD_SimplexEnhanced &s, const CD_Simplex &s1_, const CD_Simplex &s2_)
sch::CD_Depth::~CD_Depth
virtual SCH_API ~CD_Depth(void)
sch::CD_Depth::precision_
Scalar precision_
Definition: CD_Depth.h:19
sch::CD_Depth::CD_Depth
SCH_API CD_Depth(S_Object *Obj1, S_Object *Obj2)
sch_api.h
sch::CD_Depth::sObj1_
S_Object * sObj1_
Definition: CD_Depth.h:16
CD_Matrix::Vector3T< Scalar, false >
sch::CD_Depth::setRelativePrecision
SCH_API void setRelativePrecision(Scalar)
sets the relative precision of the proximity queries to a given value. Default is 1e-3
sch::S_Object
Definition: S_Object.h:71
sch::Scalar
double Scalar
Definition: SCH_Types.h:23
sch::CD_Simplex
Definition: CD_Simplex.h:54
S_Object.h