44#ifndef OPENMESH_TRICONNECTIVITY_HH
45#define OPENMESH_TRICONNECTIVITY_HH
47#include <OpenMesh/Core/Mesh/PolyConnectivity.hh>
60 inline static bool is_triangles()
67 { PolyConnectivity::assign_connectivity(_other); }
71 PolyConnectivity::assign_connectivity(_other);
88 SmartFaceHandle add_face(
const VertexHandle* _vhandles,
size_t _vhs_size);
98 SmartFaceHandle add_face(
const std::vector<VertexHandle>& _vhandles);
108 SmartFaceHandle add_face(
const std::vector<SmartVertexHandle>& _vhandles);
120 SmartFaceHandle add_face(VertexHandle _vh0, VertexHandle _vh1, VertexHandle _vh2);
129 return is_boundary(_heh) ? InvalidVertexHandle :
130 to_vertex_handle(next_halfedge_handle(_heh));
137 {
return opposite_vh(opposite_halfedge_handle(_heh)); }
230 { PolyConnectivity::split(_fh, _vh); }
238 { PolyConnectivity::split_copy(_fh, _vh); }
Connectivity Class for polygonal meshes.
Connectivity Class for Triangle Meshes.
void split_edge(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
VertexHandle opposite_vh(HalfedgeHandle _heh) const
void split_copy(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
void split_edge_copy(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
VertexHandle opposite_he_opposite_vh(HalfedgeHandle _heh) const
void split(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
void assign_connectivity(const TriConnectivity &_other)
Handle for a edge entity.
Handle for a face entity.
Handle for a halfedge entity.
Handle for a vertex entity.