Struct EPA
Defined in File gjk.h
Nested Relationships
Nested Types
Struct Documentation
-
struct EPA
class for EPA algorithm
Public Types
Public Functions
-
inline EPA(unsigned int max_face_num_, unsigned int max_vertex_num_, unsigned int max_iterations_, FCL_REAL tolerance_)
-
inline ~EPA()
-
void initialize()
-
Status evaluate(GJK &gjk, const Vec3f &guess)
- Returns:
a Status which can be demangled using (status & Valid) or (status & Failed). The other values provide a more detailled status
-
bool getClosestPoints(const MinkowskiDiff &shape, Vec3f &w0, Vec3f &w1)
Get the closest points on each object.
- Returns:
true on success
-
inline EPA(unsigned int max_face_num_, unsigned int max_vertex_num_, unsigned int max_iterations_, FCL_REAL tolerance_)