#include <Wm4Delaunay2.h>
Public Member Functions | |
Delaunay2 (const char *acFilename) | |
Delaunay2 (int iVertexQuantity, Vector2< Real > *akVertex, Real fEpsilon, bool bOwner, Query::Type eQueryType) | |
bool | GetAdjacentSet (int i, int aiAdjacent[3]) const |
bool | GetBarycentricSet (int i, const Vector2< Real > &rkP, Real afBary[3]) const |
int | GetContainingTriangle (const Vector2< Real > &rkP) const |
Delaunay1< Real > * | GetDelaunay1 () const |
bool | GetHull (int &riEQuantity, int *&raiIndex) |
bool | GetIndexSet (int i, int aiIndex[3]) const |
int | GetLastEdge (int &riV0, int &riV1, int &riV2) const |
const Vector2< Real > & | GetLineDirection () const |
const Vector2< Real > & | GetLineOrigin () const |
const int * | GetPath () const |
int | GetPathLast () const |
int | GetUniqueVertexQuantity () const |
bool | GetVertexSet (int i, Vector2< Real > akV[3]) const |
const Vector2< Real > * | GetVertices () const |
bool | Load (const char *acFilename) |
bool | Save (const char *acFilename) const |
virtual | ~Delaunay2 () |
Definition at line 29 of file Wm4Delaunay2.h.
Wm4::Delaunay2< Real >::Delaunay2 | ( | int | iVertexQuantity, | |
Vector2< Real > * | akVertex, | |||
Real | fEpsilon, | |||
bool | bOwner, | |||
Query::Type | eQueryType | |||
) | [inline] |
Definition at line 31 of file Wm4Delaunay2.cpp.
References Wm4::DelTriangle< Real >::A, Wm4::Mapper2< Real >::GetDimension(), Wm4::Mapper2< Real >::GetDirection(), Wm4::Mapper2< Real >::GetMax(), Wm4::Mapper2< Real >::GetMaxRange(), Wm4::Mapper2< Real >::GetMin(), Wm4::Mapper2< Real >::GetOrigin(), Py::int, Wm4::Delaunay< Real >::m_aiAdjacent, Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_fEpsilon, Wm4::Delaunay< Real >::m_iDimension, Wm4::Delaunay< Real >::m_iSimplexQuantity, Wm4::Delaunay< Real >::m_iVertexQuantity, Wm4::System::Memcpy(), Wm4::Query::QT_FILTERED, Wm4::Query::QT_INT64, Wm4::Query::QT_INTEGER, Wm4::Query::QT_RATIONAL, Wm4::DelTriangle< Real >::V, WM4_DELETE, and WM4_NEW.
Wm4::Delaunay2< Real >::~Delaunay2 | ( | ) | [inline, virtual] |
Definition at line 225 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_bOwner, and WM4_DELETE.
Wm4::Delaunay2< Real >::Delaunay2 | ( | const char * | acFilename | ) | [inline] |
Definition at line 728 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay2< Real >::Load().
bool Wm4::Delaunay2< Real >::GetAdjacentSet | ( | int | i, | |
int | aiAdjacent[3] | |||
) | const [inline] |
Definition at line 464 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_aiAdjacent, Wm4::Delaunay< Real >::m_iDimension, and Wm4::Delaunay< Real >::m_iSimplexQuantity.
bool Wm4::Delaunay2< Real >::GetBarycentricSet | ( | int | i, | |
const Vector2< Real > & | rkP, | |||
Real | afBary[3] | |||
) | const [inline] |
Definition at line 484 of file Wm4Delaunay2.cpp.
References Wm4::Vector2< Real >::GetBarycentrics(), Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_iDimension, and Wm4::Delaunay< Real >::m_iSimplexQuantity.
int Wm4::Delaunay2< Real >::GetContainingTriangle | ( | const Vector2< Real > & | rkP | ) | const [inline] |
Definition at line 324 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_aiAdjacent, Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_iDimension, and Wm4::Delaunay< Real >::m_iSimplexQuantity.
Delaunay1< Real > * Wm4::Delaunay2< Real >::GetDelaunay1 | ( | ) | const [inline] |
Definition at line 261 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_eQueryType, Wm4::Delaunay< Real >::m_fEpsilon, Wm4::Delaunay< Real >::m_iDimension, Wm4::Delaunay< Real >::m_iVertexQuantity, and WM4_NEW.
bool Wm4::Delaunay2< Real >::GetHull | ( | int & | riEQuantity, | |
int *& | raiIndex | |||
) | [inline] |
Definition at line 281 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_aiAdjacent, Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_iDimension, Wm4::Delaunay< Real >::m_iSimplexQuantity, and WM4_NEW.
Referenced by MeshCore::DelaunayTriangulator::Triangulate().
bool Wm4::Delaunay2< Real >::GetIndexSet | ( | int | i, | |
int | aiIndex[3] | |||
) | const [inline] |
Definition at line 444 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_iDimension, and Wm4::Delaunay< Real >::m_iSimplexQuantity.
int Wm4::Delaunay2< Real >::GetLastEdge | ( | int & | riV0, | |
int & | riV1, | |||
int & | riV2 | |||
) | const [inline] |
Definition at line 415 of file Wm4Delaunay2.cpp.
const Vector2< Real > & Wm4::Delaunay2< Real >::GetLineDirection | ( | ) | const [inline] |
Definition at line 255 of file Wm4Delaunay2.cpp.
const Vector2< Real > & Wm4::Delaunay2< Real >::GetLineOrigin | ( | ) | const [inline] |
Definition at line 249 of file Wm4Delaunay2.cpp.
const int * Wm4::Delaunay2< Real >::GetPath | ( | ) | const [inline] |
Definition at line 409 of file Wm4Delaunay2.cpp.
int Wm4::Delaunay2< Real >::GetPathLast | ( | ) | const [inline] |
Definition at line 403 of file Wm4Delaunay2.cpp.
int Wm4::Delaunay2< Real >::GetUniqueVertexQuantity | ( | ) | const [inline] |
Definition at line 243 of file Wm4Delaunay2.cpp.
Referenced by MeshCore::DelaunayTriangulator::Triangulate().
bool Wm4::Delaunay2< Real >::GetVertexSet | ( | int | i, | |
Vector2< Real > | akV[3] | |||
) | const [inline] |
Definition at line 424 of file Wm4Delaunay2.cpp.
References Wm4::Delaunay< Real >::m_aiIndex, Wm4::Delaunay< Real >::m_iDimension, and Wm4::Delaunay< Real >::m_iSimplexQuantity.
const Vector2< Real > * Wm4::Delaunay2< Real >::GetVertices | ( | ) | const [inline] |
Definition at line 237 of file Wm4Delaunay2.cpp.
bool Wm4::Delaunay2< Real >::Load | ( | const char * | acFilename | ) | [inline] |
Definition at line 742 of file Wm4Delaunay2.cpp.
References Wm4::System::Fclose(), Wm4::System::Fopen(), Wm4::Delaunay< Real >::m_bOwner, Wm4::Delaunay< Real >::m_eQueryType, Wm4::Delaunay< Real >::m_fEpsilon, Wm4::Delaunay< Real >::m_iSimplexQuantity, Wm4::Delaunay< Real >::m_iVertexQuantity, Wm4::Query::QT_FILTERED, Wm4::Query::QT_INT64, Wm4::Query::QT_INTEGER, Wm4::Query::QT_RATIONAL, Wm4::Query::QT_REAL, Wm4::System::Read4le(), Wm4::System::Read8le(), WM4_DELETE, and WM4_NEW.
Referenced by Wm4::Delaunay2< Real >::Delaunay2().
bool Wm4::Delaunay2< Real >::Save | ( | const char * | acFilename | ) | const [inline] |
Definition at line 823 of file Wm4Delaunay2.cpp.
References Wm4::System::Fclose(), Wm4::System::Fopen(), Wm4::Delaunay< Real >::m_iSimplexQuantity, Wm4::Delaunay< Real >::m_iVertexQuantity, Wm4::System::Write4le(), and Wm4::System::Write8le().