49#ifndef OPENMESH_TRICONNECTIVITY_HH
50#define OPENMESH_TRICONNECTIVITY_HH
52#include <OpenMesh/Core/Mesh/PolyConnectivity.hh>
65 inline static bool is_triangles()
72 { PolyConnectivity::assign_connectivity(_other); }
76 PolyConnectivity::assign_connectivity(_other);
93 FaceHandle add_face(
const VertexHandle* _vhandles,
size_t _vhs_size);
103 FaceHandle add_face(
const std::vector<VertexHandle>& _vhandles);
115 FaceHandle add_face(VertexHandle _vh0, VertexHandle _vh1, VertexHandle _vh2);
124 return is_boundary(_heh) ? InvalidVertexHandle :
125 to_vertex_handle(next_halfedge_handle(_heh));
132 {
return opposite_vh(opposite_halfedge_handle(_heh)); }
189 { PolyConnectivity::split(_fh, _vh); }
197 { PolyConnectivity::split_copy(_fh, _vh); }
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
Handle for a vertex entity.
Definition: Handles.hh:126
Handle for a halfedge entity.
Definition: Handles.hh:133
Handle for a edge entity.
Definition: Handles.hh:140
Handle for a face entity.
Definition: Handles.hh:147
Connectivity Class for polygonal meshes.
Definition: PolyConnectivity.hh:62
Connectivity Class for Triangle Meshes.
Definition: TriConnectivity.hh:59
void split_copy(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
Definition: TriConnectivity.hh:196
VertexHandle opposite_he_opposite_vh(HalfedgeHandle _heh) const
Returns the opposite vertex to the opposite halfedge of _heh in the face referenced by it returns Inv...
Definition: TriConnectivity.hh:131
VertexHandle opposite_vh(HalfedgeHandle _heh) const
Returns the opposite vertex to the halfedge _heh in the face referenced by _heh returns InvalidVertex...
Definition: TriConnectivity.hh:122
void split(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
Definition: TriConnectivity.hh:188
void assign_connectivity(const TriConnectivity &_other)
assign_connectivity() methods.
Definition: TriConnectivity.hh:71