22 typedef std::shared_ptr<Vertex> (*VCreator)(
int);
23 typedef std::map<int, std::shared_ptr<Vertex>>
VMap;
27 typedef std::shared_ptr<Edge> (*ECreator)(
int,
int);
28 typedef std::map<std::pair<int, int>, std::shared_ptr<Edge>>
EMap;
41 std::weak_ptr<Edge> E[2];
55 std::weak_ptr<Edge> E[2];
61 VEManifoldMesh(VCreator vCreator =
nullptr, ECreator eCreator =
nullptr);
64 VMap
const& GetVertices()
const;
65 EMap
const& GetEdges()
const;
71 void AssertOnNonmanifoldInsertion(
bool doAssert);
77 std::shared_ptr<Edge> Insert(
int v0,
int v1);
81 bool Remove(
int v0,
int v1);
84 bool IsClosed()
const;
88 static std::shared_ptr<Vertex> CreateVertex(
int v0);
93 static std::shared_ptr<Edge> CreateEdge(
int v0,
int v1);
bool mAssertOnNonmanifoldInsertion
std::map< int, std::shared_ptr< Vertex > > VMap
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
std::map< std::pair< int, int >, std::shared_ptr< Edge > > EMap