44#ifndef OPENMESH_TRICONNECTIVITY_HH
45#define OPENMESH_TRICONNECTIVITY_HH
47#include <OpenMesh/Core/Mesh/PolyConnectivity.hh>
58 virtual ~TriConnectivity() {}
60 inline static bool is_triangles()
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);
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:59
Handle for a vertex entity.
Definition Handles.hh:121
Handle for a halfedge entity.
Definition Handles.hh:128
Handle for a edge entity.
Definition Handles.hh:135
Handle for a face entity.
Definition Handles.hh:142
Connectivity Class for polygonal meshes.
Definition PolyConnectivity.hh:115
void split_copy(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-n split).
Definition PolyConnectivity.cc:1061
SmartHalfedgeHandle opposite_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
Definition PolyConnectivity_inline_impl.hh:57
PolyConnectivity()
Alias typedef.
Definition PolyConnectivity.hh:523
SmartHalfedgeHandle next_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
Definition PolyConnectivity_inline_impl.hh:55
static const VertexHandle InvalidVertexHandle
Invalid handle.
Definition PolyConnectivity.hh:120
void assign_connectivity(const PolyConnectivity &_other)
assign_connectivity() method.
Definition PolyConnectivity.hh:531
bool is_boundary(HalfedgeHandle _heh) const
Check if the halfedge is at the boundary.
Definition PolyConnectivity.hh:1568
void split(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-n split).
Definition PolyConnectivity.cc:1018
void split_edge(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
Definition TriConnectivity.hh:190
void split_copy(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
Definition TriConnectivity.hh:237
void split_edge_copy(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
Definition TriConnectivity.hh:222
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:136
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:127
void split(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
Definition TriConnectivity.cc:395
void split(FaceHandle _fh, VertexHandle _vh)
Face split (= 1-to-3) split, calls corresponding PolyMeshT function).
Definition TriConnectivity.hh:229
void assign_connectivity(const TriConnectivity &_other)
assign_connectivity() methods.
Definition TriConnectivity.hh:66
void split_copy(EdgeHandle _eh, VertexHandle _vh)
Edge split (= 2-to-4 split)
Definition TriConnectivity.cc:492