#include <sch/CD/CD_Simplex.h>
|
SCH_API | CD_Simplex (const CD_Simplex &rhs) |
|
SCH_API | CD_Simplex (const Point3 &p) |
|
SCH_API | CD_Simplex (const Point3 &p1, const Point3 &p2) |
|
SCH_API | CD_Simplex (const Point3 &p1, const Point3 &p2, const Point3 &p3) |
|
SCH_API | CD_Simplex (const Point3 &p1, const Point3 &p2, const Point3 &p3, const Point3 &p4) |
|
virtual SCH_API | ~CD_Simplex () |
|
SCH_API CD_SimplexType | getType () const |
|
const SCH_API Point3 & | operator[] (unsigned char) const |
|
SCH_API Point3 & | operator[] (unsigned char) |
|
SCH_API CD_Simplex & | operator= (const CD_Simplex &s) |
|
SCH_API CD_Simplex & | operator= (const Point3 &p) |
|
SCH_API bool | operator== (const CD_Simplex &s) |
|
SCH_API bool | operator!= (const CD_Simplex &s) |
|
SCH_API CD_Simplex & | operator+= (const Point3 &) |
| Adds a point to a simplex to transform it in a higher dimemsion simplex (doesn't work with tetrahedron) \updateVetors must be called after this operator to keep the vectors up to date. More...
|
|
SCH_API CD_Simplex | operator+ (const Point3 &) const |
| Adds a point to a simplex to transform it in a higher dimemsion simplex (doesn't work with tetrahedron) \updateVetors must be called after this operator to keep the vectors up to date. More...
|
|
virtual SCH_API void | filter (const CD_SimplexKeptPoints &k) |
| Updates the simplex by supressing some vertexes and/or change their order according to a filter. More...
|
|
SCH_API Scalar | squareDistanceAtOrigin (const Vector3 &v) const |
| Gives the distance squared at the origin for a simplex, and according the direction v. More...
|
|
SCH_API void | updateVectors () |
| Updates AB,AC,AD vectors. A is the last vertex inserted and B, C and D are previous vertexes. More...
|
|
const SCH_API Vector3 & | AB () const |
| Returns AB vector. More...
|
|
const SCH_API Vector3 & | AC () const |
| Returns AC vector. More...
|
|
const SCH_API Vector3 & | AD () const |
| Returns AD vector. More...
|
|
◆ CD_Simplex() [1/5]
◆ CD_Simplex() [2/5]
CD_Simplex::CD_Simplex |
( |
const Point3 & |
p | ) |
|
|
inline |
◆ CD_Simplex() [3/5]
CD_Simplex::CD_Simplex |
( |
const Point3 & |
p1, |
|
|
const Point3 & |
p2 |
|
) |
| |
|
inline |
◆ CD_Simplex() [4/5]
◆ CD_Simplex() [5/5]
◆ ~CD_Simplex()
virtual SCH_API sch::CD_Simplex::~CD_Simplex |
( |
| ) |
|
|
virtual |
◆ AB()
const Vector3 & CD_Simplex::AB |
( |
| ) |
const |
|
inline |
◆ AC()
const Vector3 & CD_Simplex::AC |
( |
| ) |
const |
|
inline |
◆ AD()
const Vector3 & CD_Simplex::AD |
( |
| ) |
const |
|
inline |
◆ filter()
Updates the simplex by supressing some vertexes and/or change their order according to a filter.
- Parameters
-
k | is the filter used to know wich vertexes will be kept and in wich order \updateVetors must be called after this function to keep the vectors up to date. |
Reimplemented in sch::CD_SimplexEnhanced.
◆ getType()
◆ operator!=()
bool CD_Simplex::operator!= |
( |
const CD_Simplex & |
s | ) |
|
|
inline |
◆ operator+()
Adds a point to a simplex to transform it in a higher dimemsion simplex (doesn't work with tetrahedron) \updateVetors must be called after this operator to keep the vectors up to date.
◆ operator+=()
Adds a point to a simplex to transform it in a higher dimemsion simplex (doesn't work with tetrahedron) \updateVetors must be called after this operator to keep the vectors up to date.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool CD_Simplex::operator== |
( |
const CD_Simplex & |
s | ) |
|
|
inline |
◆ operator[]() [1/2]
◆ operator[]() [2/2]
const SCH_API Point3& sch::CD_Simplex::operator[] |
( |
unsigned char |
| ) |
const |
◆ squareDistanceAtOrigin()
Scalar CD_Simplex::squareDistanceAtOrigin |
( |
const Vector3 & |
v | ) |
const |
|
inline |
Gives the distance squared at the origin for a simplex, and according the direction v.
◆ updateVectors()
void CD_Simplex::updateVectors |
( |
| ) |
|
|
inline |
Updates AB,AC,AD vectors. A is the last vertex inserted and B, C and D are previous vertexes.
◆ ab_
◆ ac_
◆ ad_
◆ s1_
◆ s2_
◆ s3_
◆ s4_
◆ type_
◆ zero2_
const Scalar sch::CD_Simplex::zero2_ |
|
staticprotected |
◆ zero3_
const Scalar sch::CD_Simplex::zero3_ |
|
staticprotected |
◆ zero4_
const Scalar sch::CD_Simplex::zero4_ |
|
staticprotected |
◆ zero_
const Scalar sch::CD_Simplex::zero_ |
|
staticprotected |
The documentation for this class was generated from the following files: