#include <Wm4Query2.h>
Public Member Functions | |
int | GetQuantity () const |
virtual Query::Type | GetType () const |
const Vector2< Real > * | GetVertices () const |
Query2 (int iVQuantity, const Vector2< Real > *akVertex) | |
virtual int | ToCircumcircle (const Vector2< Real > &rkP, int iV0, int iV1, int iV2) const |
virtual int | ToCircumcircle (int i, int iV0, int iV1, int iV2) const |
virtual int | ToLine (const Vector2< Real > &rkP, int iV0, int iV1) const |
virtual int | ToLine (int i, int iV0, int iV1) const |
virtual int | ToTriangle (const Vector2< Real > &rkP, int iV0, int iV1, int iV2) const |
virtual int | ToTriangle (int i, int iV0, int iV1, int iV2) const |
virtual | ~Query2 () |
Static Protected Member Functions | |
static Real | Det2 (Real fX0, Real fY0, Real fX1, Real fY1) |
static Real | Det3 (Real iX0, Real iY0, Real iZ0, Real iX1, Real iY1, Real iZ1, Real iX2, Real iY2, Real iZ2) |
static Real | Dot (Real fX0, Real fY0, Real fX1, Real fY1) |
Protected Attributes | |
const Vector2< Real > * | m_akVertex |
int | m_iVQuantity |
Definition at line 28 of file Wm4Query2.h.
Wm4::Query2< Real >::Query2 | ( | int | iVQuantity, | |
const Vector2< Real > * | akVertex | |||
) | [inline] |
Definition at line 21 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_akVertex, and Wm4::Query2< Real >::m_iVQuantity.
Wm4::Query2< Real >::~Query2 | ( | ) | [inline, virtual] |
Definition at line 29 of file Wm4Query2.inl.
Real Wm4::Query2< Real >::Det2 | ( | Real | fX0, | |
Real | fY0, | |||
Real | fX1, | |||
Real | fY1 | |||
) | [inline, static, protected] |
Definition at line 143 of file Wm4Query2.inl.
Referenced by Wm4::Query2Filtered< Real >::ToLine(), and Wm4::Query2< Real >::ToLine().
Real Wm4::Query2< Real >::Det3 | ( | Real | iX0, | |
Real | iY0, | |||
Real | iZ0, | |||
Real | iX1, | |||
Real | iY1, | |||
Real | iZ1, | |||
Real | iX2, | |||
Real | iY2, | |||
Real | iZ2 | |||
) | [inline, static, protected] |
Definition at line 149 of file Wm4Query2.inl.
Referenced by Wm4::Query2Filtered< Real >::ToCircumcircle(), and Wm4::Query2< Real >::ToCircumcircle().
Real Wm4::Query2< Real >::Dot | ( | Real | fX0, | |
Real | fY0, | |||
Real | fX1, | |||
Real | fY1 | |||
) | [inline, static, protected] |
Definition at line 137 of file Wm4Query2.inl.
int Wm4::Query2< Real >::GetQuantity | ( | ) | const [inline] |
Definition at line 40 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_iVQuantity.
Query::Type Wm4::Query2< Real >::GetType | ( | void | ) | const [inline, virtual] |
Implements Wm4::Query.
Reimplemented in Wm4::Query2Filtered< Real >, Wm4::Query2Int64< Real >, Wm4::Query2TInteger< Real >, and Wm4::Query2TRational< Real >.
Definition at line 34 of file Wm4Query2.inl.
References Wm4::Query::QT_REAL.
const Vector2< Real > * Wm4::Query2< Real >::GetVertices | ( | ) | const [inline] |
Definition at line 46 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_akVertex.
int Wm4::Query2< Real >::ToCircumcircle | ( | const Vector2< Real > & | rkP, | |
int | iV0, | |||
int | iV1, | |||
int | iV2 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2Filtered< Real >, Wm4::Query2Int64< Real >, Wm4::Query2TInteger< Real >, and Wm4::Query2TRational< Real >.
Definition at line 110 of file Wm4Query2.inl.
References Wm4::Query2< Real >::Det3(), and Wm4::Query2< Real >::m_akVertex.
int Wm4::Query2< Real >::ToCircumcircle | ( | int | i, | |
int | iV0, | |||
int | iV1, | |||
int | iV2 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2TRational< Real >.
Definition at line 104 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_akVertex.
Referenced by Wm4::DelTriangle< Real >::IsInsertionComponent().
int Wm4::Query2< Real >::ToLine | ( | const Vector2< Real > & | rkP, | |
int | iV0, | |||
int | iV1 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2Filtered< Real >, Wm4::Query2Int64< Real >, Wm4::Query2TInteger< Real >, and Wm4::Query2TRational< Real >.
Definition at line 58 of file Wm4Query2.inl.
References Wm4::Query2< Real >::Det2(), and Wm4::Query2< Real >::m_akVertex.
int Wm4::Query2< Real >::ToLine | ( | int | i, | |
int | iV0, | |||
int | iV1 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2TRational< Real >.
Definition at line 52 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_akVertex.
Referenced by Wm4::DelTriangle< Real >::IsInsertionComponent(), and Wm4::Query2< Real >::ToTriangle().
int Wm4::Query2< Real >::ToTriangle | ( | const Vector2< Real > & | rkP, | |
int | iV0, | |||
int | iV1, | |||
int | iV2 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2TRational< Real >.
Definition at line 79 of file Wm4Query2.inl.
References Wm4::Query2< Real >::ToLine().
int Wm4::Query2< Real >::ToTriangle | ( | int | i, | |
int | iV0, | |||
int | iV1, | |||
int | iV2 | |||
) | const [inline, virtual] |
Reimplemented in Wm4::Query2TRational< Real >.
Definition at line 73 of file Wm4Query2.inl.
References Wm4::Query2< Real >::m_akVertex.
const Vector2<Real>* Wm4::Query2< Real >::m_akVertex [protected] |
Definition at line 70 of file Wm4Query2.h.
Referenced by Wm4::Query2< Real >::GetVertices(), Wm4::Query2< Real >::Query2(), Wm4::Query2TInteger< Real >::ToCircumcircle(), Wm4::Query2Int64< Real >::ToCircumcircle(), Wm4::Query2Filtered< Real >::ToCircumcircle(), Wm4::Query2< Real >::ToCircumcircle(), Wm4::Query2TInteger< Real >::ToLine(), Wm4::Query2Int64< Real >::ToLine(), Wm4::Query2Filtered< Real >::ToLine(), Wm4::Query2< Real >::ToLine(), and Wm4::Query2< Real >::ToTriangle().
int Wm4::Query2< Real >::m_iVQuantity [protected] |
Definition at line 69 of file Wm4Query2.h.
Referenced by Wm4::Query2< Real >::GetQuantity(), Wm4::Query2< Real >::Query2(), and Wm4::Query2TRational< Real >::Query2TRational().