Public Member Functions | Public Attributes | List of all members
gte::PlanarMesh< InputType, ComputeType, RationalType > Class Template Reference

#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< intmAdjacencies
 
std::vector< Vector2< ComputeType > > mComputeVertices
 
std::vector< intmIndices
 
ETManifoldMesh mMesh
 
int mNumTriangles
 
int mNumVertices
 
PrimalQuery2< ComputeType > mQuery
 
std::map< TriangleKey< true >, intmTriIndexMap
 
Vector2< InputType > const * mVertices
 

Detailed Description

template<typename InputType, typename ComputeType, typename RationalType>
class gte::PlanarMesh< InputType, ComputeType, RationalType >

Definition at line 87 of file GtePlanarMesh.h.

Constructor & Destructor Documentation

template<typename InputType , typename ComputeType , typename RationalType >
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.

template<typename InputType , typename ComputeType , typename RationalType >
gte::PlanarMesh< InputType, ComputeType, RationalType >::PlanarMesh ( int  numVertices,
Vector2< InputType > const *  vertices,
ETManifoldMesh const &  mesh 
)

Definition at line 211 of file GtePlanarMesh.h.

Member Function Documentation

template<typename InputType , typename ComputeType , typename RationalType >
bool gte::PlanarMesh< InputType, ComputeType, RationalType >::Contains ( int  triangle,
Vector2< InputType > const &  P 
) const

Definition at line 471 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
void gte::PlanarMesh< InputType, ComputeType, RationalType >::CreateVertices ( int  numVertices,
Vector2< InputType > const *  vertices 
)

Definition at line 484 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
int const * gte::PlanarMesh< InputType, ComputeType, RationalType >::GetAdjacencies ( ) const
inline

Definition at line 289 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetAdjacencies ( int  t,
std::array< int, 3 > &  adjacencies 
) const

Definition at line 425 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
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.

template<typename InputType , typename ComputeType , typename RationalType >
int gte::PlanarMesh< InputType, ComputeType, RationalType >::GetContainingTriangle ( Vector2< InputType > const &  P,
int  startTriangle = 0 
) const

Definition at line 295 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
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.

template<typename InputType , typename ComputeType , typename RationalType >
int const * gte::PlanarMesh< InputType, ComputeType, RationalType >::GetIndices ( ) const
inline

Definition at line 283 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetIndices ( int  t,
std::array< int, 3 > &  indices 
) const

Definition at line 410 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
int gte::PlanarMesh< InputType, ComputeType, RationalType >::GetNumTriangles ( ) const
inline

Definition at line 271 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
int gte::PlanarMesh< InputType, ComputeType, RationalType >::GetNumVertices ( ) const
inline

Definition at line 265 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
Vector2< InputType > const * gte::PlanarMesh< InputType, ComputeType, RationalType >::GetVertices ( ) const
inline

Definition at line 277 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
bool gte::PlanarMesh< InputType, ComputeType, RationalType >::GetVertices ( int  t,
std::array< Vector2< InputType >, 3 > &  vertices 
) const

Definition at line 395 of file GtePlanarMesh.h.

Member Data Documentation

template<typename InputType , typename ComputeType , typename RationalType >
std::vector<int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mAdjacencies

Definition at line 131 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
std::vector<Vector2<ComputeType> > gte::PlanarMesh< InputType, ComputeType, RationalType >::mComputeVertices

Definition at line 132 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
std::vector<int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mIndices

Definition at line 128 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
ETManifoldMesh gte::PlanarMesh< InputType, ComputeType, RationalType >::mMesh

Definition at line 129 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
int gte::PlanarMesh< InputType, ComputeType, RationalType >::mNumTriangles

Definition at line 127 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
int gte::PlanarMesh< InputType, ComputeType, RationalType >::mNumVertices

Definition at line 125 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
PrimalQuery2<ComputeType> gte::PlanarMesh< InputType, ComputeType, RationalType >::mQuery

Definition at line 133 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
std::map<TriangleKey<true>, int> gte::PlanarMesh< InputType, ComputeType, RationalType >::mTriIndexMap

Definition at line 130 of file GtePlanarMesh.h.

template<typename InputType , typename ComputeType , typename RationalType >
Vector2<InputType> const* gte::PlanarMesh< InputType, ComputeType, RationalType >::mVertices

Definition at line 126 of file GtePlanarMesh.h.


The documentation for this class was generated from the following file:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06