#include <GtePrimalQuery2.h>
Public Types | |
enum | OrderType { ORDER_Q0_EQUALS_Q1, ORDER_P_EQUALS_Q0, ORDER_P_EQUALS_Q1, ORDER_POSITIVE, ORDER_NEGATIVE, ORDER_COLLINEAR_LEFT, ORDER_COLLINEAR_RIGHT, ORDER_COLLINEAR_CONTAIN } |
Public Member Functions | |
int | GetNumVertices () const |
Vector2< Real > const * | GetVertices () const |
PrimalQuery2 () | |
PrimalQuery2 (int numVertices, Vector2< Real > const *vertices) | |
void | Set (int numVertices, Vector2< Real > const *vertices) |
int | ToCircumcircle (int i, int v0, int v1, int v2) const |
int | ToCircumcircle (Vector2< Real > const &test, int v0, int v1, int v2) const |
int | ToLine (int i, int v0, int v1) const |
int | ToLine (Vector2< Real > const &test, int v0, int v1) const |
int | ToLine (int i, int v0, int v1, int &order) const |
int | ToLine (Vector2< Real > const &test, int v0, int v1, int &order) const |
OrderType | ToLineExtended (Vector2< Real > const &P, Vector2< Real > const &Q0, Vector2< Real > const &Q1) const |
int | ToTriangle (int i, int v0, int v1, int v2) const |
int | ToTriangle (Vector2< Real > const &test, int v0, int v1, int v2) const |
Private Attributes | |
int | mNumVertices |
Vector2< Real > const * | mVertices |
Definition at line 23 of file GtePrimalQuery2.h.
enum gte::PrimalQuery2::OrderType |
Enumerator | |
---|---|
ORDER_Q0_EQUALS_Q1 | |
ORDER_P_EQUALS_Q0 | |
ORDER_P_EQUALS_Q1 | |
ORDER_POSITIVE | |
ORDER_NEGATIVE | |
ORDER_COLLINEAR_LEFT | |
ORDER_COLLINEAR_RIGHT | |
ORDER_COLLINEAR_CONTAIN |
Definition at line 123 of file GtePrimalQuery2.h.
gte::PrimalQuery2< Real >::PrimalQuery2 | ( | ) |
Definition at line 153 of file GtePrimalQuery2.h.
gte::PrimalQuery2< Real >::PrimalQuery2 | ( | int | numVertices, |
Vector2< Real > const * | vertices | ||
) |
Definition at line 161 of file GtePrimalQuery2.h.
|
inline |
Definition at line 177 of file GtePrimalQuery2.h.
|
inline |
Definition at line 183 of file GtePrimalQuery2.h.
|
inline |
Definition at line 170 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToCircumcircle | ( | int | i, |
int | v0, | ||
int | v1, | ||
int | v2 | ||
) | const |
Definition at line 309 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToCircumcircle | ( | Vector2< Real > const & | test, |
int | v0, | ||
int | v1, | ||
int | v2 | ||
) | const |
Definition at line 315 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToLine | ( | int | i, |
int | v0, | ||
int | v1 | ||
) | const |
Definition at line 189 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToLine | ( | Vector2< Real > const & | test, |
int | v0, | ||
int | v1 | ||
) | const |
Definition at line 195 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToLine | ( | int | i, |
int | v0, | ||
int | v1, | ||
int & | order | ||
) | const |
Definition at line 213 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToLine | ( | Vector2< Real > const & | test, |
int | v0, | ||
int | v1, | ||
int & | order | ||
) | const |
Definition at line 219 of file GtePrimalQuery2.h.
PrimalQuery2< Real >::OrderType gte::PrimalQuery2< Real >::ToLineExtended | ( | Vector2< Real > const & | P, |
Vector2< Real > const & | Q0, | ||
Vector2< Real > const & | Q1 | ||
) | const |
Definition at line 365 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToTriangle | ( | int | i, |
int | v0, | ||
int | v1, | ||
int | v2 | ||
) | const |
Definition at line 279 of file GtePrimalQuery2.h.
int gte::PrimalQuery2< Real >::ToTriangle | ( | Vector2< Real > const & | test, |
int | v0, | ||
int | v1, | ||
int | v2 | ||
) | const |
Definition at line 285 of file GtePrimalQuery2.h.
|
private |
Definition at line 147 of file GtePrimalQuery2.h.
|
private |
Definition at line 148 of file GtePrimalQuery2.h.