#include <GtePlanarMesh.h>
Public Member Functions | |
| bool | Contains (int triangle, Vector2< InputType > const &P) const |
| void | CreateVertices (int numVertices, Vector2< InputType > const *vertices) |
| int const * | GetAdjacencies () const |
| bool | GetAdjacencies (int t, std::array< int, 3 > &adjacencies) const |
| bool | GetBarycentrics (int t, Vector2< InputType > const &P, std::array< InputType, 3 > &bary) const |
| int | GetContainingTriangle (Vector2< InputType > const &P, int startTriangle=0) const |
| int | GetContainingTriangle (Vector2< InputType > const &P, int startTriangle, std::set< int > &visited) const |
| int const * | GetIndices () const |
| bool | GetIndices (int t, std::array< int, 3 > &indices) const |
| int | GetNumTriangles () const |
| int | GetNumVertices () const |
| Vector2< InputType > const * | GetVertices () const |
| bool | GetVertices (int t, std::array< Vector2< InputType >, 3 > &vertices) const |
| PlanarMesh (int numVertices, Vector2< InputType > const *vertices, int numTriangles, int const *indices) | |
| PlanarMesh (int numVertices, Vector2< InputType > const *vertices, ETManifoldMesh const &mesh) | |
Public Attributes | |
| std::vector< int > | mAdjacencies |
| std::vector< Vector2< ComputeType > > | mComputeVertices |
| std::vector< int > | mIndices |
| ETManifoldMesh | mMesh |
| int | mNumTriangles |
| int | mNumVertices |
| PrimalQuery2< ComputeType > | mQuery |
| std::map< TriangleKey< true >, int > | mTriIndexMap |
| Vector2< InputType > const * | mVertices |
Definition at line 87 of file GtePlanarMesh.h.
| gte::PlanarMesh< InputType, ComputeType, RationalType >::PlanarMesh | ( | int | numVertices, |
| Vector2< InputType > const * | vertices, | ||
| int | numTriangles, | ||
| int const * | indices | ||
| ) |
Definition at line 138 of file GtePlanarMesh.h.
| gte::PlanarMesh< InputType, ComputeType, RationalType >::PlanarMesh | ( | int | numVertices, |
| Vector2< InputType > const * | vertices, | ||
| ETManifoldMesh const & | mesh | ||
| ) |
Definition at line 211 of file GtePlanarMesh.h.
| bool gte::PlanarMesh< InputType, ComputeType, RationalType >::Contains | ( | int | triangle, |
| Vector2< InputType > const & | P | ||
| ) | const |
Definition at line 471 of file GtePlanarMesh.h.
| void gte::PlanarMesh< InputType, ComputeType, RationalType >::CreateVertices | ( | int | numVertices, |
| Vector2< InputType > const * | vertices | ||
| ) |
Definition at line 484 of file GtePlanarMesh.h.
|
inline |
Definition at line 289 of file GtePlanarMesh.h.
| bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetAdjacencies | ( | int | t, |
| std::array< int, 3 > & | adjacencies | ||
| ) | const |
Definition at line 425 of file GtePlanarMesh.h.
| bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetBarycentrics | ( | int | t, |
| Vector2< InputType > const & | P, | ||
| std::array< InputType, 3 > & | bary | ||
| ) | const |
Definition at line 440 of file GtePlanarMesh.h.
| int gte::PlanarMesh< InputType, ComputeType, RationalType >::GetContainingTriangle | ( | Vector2< InputType > const & | P, |
| int | startTriangle = 0 |
||
| ) | const |
Definition at line 295 of file GtePlanarMesh.h.
| int gte::PlanarMesh< InputType, ComputeType, RationalType >::GetContainingTriangle | ( | Vector2< InputType > const & | P, |
| int | startTriangle, | ||
| std::set< int > & | visited | ||
| ) | const |
Definition at line 344 of file GtePlanarMesh.h.
|
inline |
Definition at line 283 of file GtePlanarMesh.h.
| bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetIndices | ( | int | t, |
| std::array< int, 3 > & | indices | ||
| ) | const |
Definition at line 410 of file GtePlanarMesh.h.
|
inline |
Definition at line 271 of file GtePlanarMesh.h.
|
inline |
Definition at line 265 of file GtePlanarMesh.h.
|
inline |
Definition at line 277 of file GtePlanarMesh.h.
| bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetVertices | ( | int | t, |
| std::array< Vector2< InputType >, 3 > & | vertices | ||
| ) | const |
Definition at line 395 of file GtePlanarMesh.h.
| std::vector<int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mAdjacencies |
Definition at line 131 of file GtePlanarMesh.h.
| std::vector<Vector2<ComputeType> > gte::PlanarMesh< InputType, ComputeType, RationalType >::mComputeVertices |
Definition at line 132 of file GtePlanarMesh.h.
| std::vector<int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mIndices |
Definition at line 128 of file GtePlanarMesh.h.
| ETManifoldMesh gte::PlanarMesh< InputType, ComputeType, RationalType >::mMesh |
Definition at line 129 of file GtePlanarMesh.h.
| int gte::PlanarMesh< InputType, ComputeType, RationalType >::mNumTriangles |
Definition at line 127 of file GtePlanarMesh.h.
| int gte::PlanarMesh< InputType, ComputeType, RationalType >::mNumVertices |
Definition at line 125 of file GtePlanarMesh.h.
| PrimalQuery2<ComputeType> gte::PlanarMesh< InputType, ComputeType, RationalType >::mQuery |
Definition at line 133 of file GtePlanarMesh.h.
| std::map<TriangleKey<true>, int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mTriIndexMap |
Definition at line 130 of file GtePlanarMesh.h.
| Vector2<InputType> const* gte::PlanarMesh< InputType, ComputeType, RationalType >::mVertices |
Definition at line 126 of file GtePlanarMesh.h.