44 #ifndef OPENMESH_POLYCONNECTIVITY_HH 45 #define OPENMESH_POLYCONNECTIVITY_HH 47 #include <OpenMesh/Core/Mesh/ArrayKernel.hh> 48 #include <OpenMesh/Core/Mesh/SmartRange.hh> 55 template <
class Mesh,
class ValueHandle,
class MemberOwner,
bool (MemberOwner::*PrimitiveStatusMember)() const,
size_t (MemberOwner::*PrimitiveCountMember)() const>
56 class GenericIteratorT;
59 class GenericCirculatorBaseT;
61 template<
typename Traits>
62 class GenericCirculatorT_DEPRECATED;
64 template<
typename Traits,
bool CW>
65 class GenericCirculatorT;
68 template <
typename RangeTraitT>
74 ITER_T (CONTAINER_T::*begin_fn)()
const,
75 ITER_T (CONTAINER_T::*end_fn)()
const>
78 using CONTAINER_TYPE = CONTAINER_T;
79 using ITER_TYPE = ITER_T;
80 static ITER_TYPE begin(
const CONTAINER_TYPE& _container) {
return (_container.*begin_fn)(); }
81 static ITER_TYPE end(
const CONTAINER_TYPE& _container) {
return (_container.*end_fn)(); }
85 template <
typename CirculatorRangeTraitT>
91 typename CENTER_ENTITY_T,
93 ITER_T (CONTAINER_T::*begin_fn)(CENTER_ENTITY_T)
const,
94 ITER_T (CONTAINER_T::*end_fn)(CENTER_ENTITY_T)
const>
97 using CONTAINER_TYPE = CONTAINER_T;
98 using ITER_TYPE = ITER_T;
99 using CENTER_ENTITY_TYPE = CENTER_ENTITY_T;
100 using TO_ENTITYE_TYPE = TO_ENTITY_T;
101 static ITER_TYPE begin(
const CONTAINER_TYPE& _container, CENTER_ENTITY_TYPE _ce) {
return (_container.*begin_fn)(_ce); }
102 static ITER_TYPE end(
const CONTAINER_TYPE& _container, CENTER_ENTITY_TYPE _ce) {
return (_container.*end_fn)(_ce); }
471 inline static bool is_triangles()
502 SmartFaceHandle add_face(
const std::vector<SmartVertexHandle>& _vhandles);
555 void delete_vertex(
VertexHandle _vh,
bool _delete_isolated_vertices =
true);
565 void delete_edge(
EdgeHandle _eh,
bool _delete_isolated_vertices=
true);
577 void delete_face(
FaceHandle _fh,
bool _delete_isolated_vertices=
true);
586 using ArrayKernel::next_halfedge_handle;
587 using ArrayKernel::prev_halfedge_handle;
588 using ArrayKernel::opposite_halfedge_handle;
589 using ArrayKernel::ccw_rotated_halfedge_handle;
590 using ArrayKernel::cw_rotated_halfedge_handle;
598 using ArrayKernel::s_halfedge_handle;
599 using ArrayKernel::s_edge_handle;
604 using ArrayKernel::halfedge_handle;
605 using ArrayKernel::edge_handle;
606 using ArrayKernel::face_handle;
624 VertexIter vertices_begin();
626 ConstVertexIter vertices_begin()
const;
628 VertexIter vertices_end();
630 ConstVertexIter vertices_end()
const;
633 HalfedgeIter halfedges_begin();
635 ConstHalfedgeIter halfedges_begin()
const;
637 HalfedgeIter halfedges_end();
639 ConstHalfedgeIter halfedges_end()
const;
642 EdgeIter edges_begin();
644 ConstEdgeIter edges_begin()
const;
646 EdgeIter edges_end();
648 ConstEdgeIter edges_end()
const;
651 FaceIter faces_begin();
653 ConstFaceIter faces_begin()
const;
655 FaceIter faces_end();
657 ConstFaceIter faces_end()
const;
666 VertexIter vertices_sbegin();
668 ConstVertexIter vertices_sbegin()
const;
671 HalfedgeIter halfedges_sbegin();
673 ConstHalfedgeIter halfedges_sbegin()
const;
676 EdgeIter edges_sbegin();
678 ConstEdgeIter edges_sbegin()
const;
681 FaceIter faces_sbegin();
683 ConstFaceIter faces_sbegin()
const;
727 ConstVertexVertexCWIter cvv_cwiter(
VertexHandle _vh)
const;
729 ConstVertexVertexCCWIter cvv_ccwiter(
VertexHandle _vh)
const;
731 ConstVertexIHalfedgeIter cvih_iter(
VertexHandle _vh)
const;
733 ConstVertexIHalfedgeCWIter cvih_cwiter(
VertexHandle _vh)
const;
735 ConstVertexIHalfedgeCCWIter cvih_ccwiter(
VertexHandle _vh)
const;
737 ConstVertexOHalfedgeIter cvoh_iter(
VertexHandle _vh)
const;
739 ConstVertexOHalfedgeCWIter cvoh_cwiter(
VertexHandle _vh)
const;
741 ConstVertexOHalfedgeCCWIter cvoh_ccwiter(
VertexHandle _vh)
const;
745 ConstVertexEdgeCWIter cve_cwiter(
VertexHandle _vh)
const;
747 ConstVertexEdgeCCWIter cve_ccwiter(
VertexHandle _vh)
const;
751 ConstVertexFaceCWIter cvf_cwiter(
VertexHandle _vh)
const;
753 ConstVertexFaceCCWIter cvf_ccwiter(
VertexHandle _vh)
const;
766 FaceHalfedgeCCWIter fh_ccwiter(
FaceHandle _fh);
781 ConstFaceVertexIter cfv_iter(
FaceHandle _fh)
const;
783 ConstFaceVertexCWIter cfv_cwiter(
FaceHandle _fh)
const;
785 ConstFaceVertexCCWIter cfv_ccwiter(
FaceHandle _fh)
const;
787 ConstFaceHalfedgeIter cfh_iter(
FaceHandle _fh)
const;
789 ConstFaceHalfedgeCWIter cfh_cwiter(
FaceHandle _fh)
const;
791 ConstFaceHalfedgeCCWIter cfh_ccwiter(
FaceHandle _fh)
const;
793 ConstFaceEdgeIter cfe_iter(
FaceHandle _fh)
const;
795 ConstFaceEdgeCWIter cfe_cwiter(
FaceHandle _fh)
const;
797 ConstFaceEdgeCCWIter cfe_ccwiter(
FaceHandle _fh)
const;
799 ConstFaceFaceIter cff_iter(
FaceHandle _fh)
const;
801 ConstFaceFaceCWIter cff_cwiter(
FaceHandle _fh)
const;
803 ConstFaceFaceCCWIter cff_ccwiter(
FaceHandle _fh)
const;
840 ConstVertexVertexIter cvv_begin(
VertexHandle _vh)
const;
842 ConstVertexVertexCWIter cvv_cwbegin(
VertexHandle _vh)
const;
844 ConstVertexVertexCCWIter cvv_ccwbegin(
VertexHandle _vh)
const;
846 ConstVertexIHalfedgeIter cvih_begin(
VertexHandle _vh)
const;
848 ConstVertexIHalfedgeCWIter cvih_cwbegin(
VertexHandle _vh)
const;
850 ConstVertexIHalfedgeCCWIter cvih_ccwbegin(
VertexHandle _vh)
const;
852 ConstVertexOHalfedgeIter cvoh_begin(
VertexHandle _vh)
const;
854 ConstVertexOHalfedgeCWIter cvoh_cwbegin(
VertexHandle _vh)
const;
856 ConstVertexOHalfedgeCCWIter cvoh_ccwbegin(
VertexHandle _vh)
const;
860 ConstVertexEdgeCWIter cve_cwbegin(
VertexHandle _vh)
const;
862 ConstVertexEdgeCCWIter cve_ccwbegin(
VertexHandle _vh)
const;
866 ConstVertexFaceCWIter cvf_cwbegin(
VertexHandle _vh)
const;
868 ConstVertexFaceCCWIter cvf_ccwbegin(
VertexHandle _vh)
const;
875 FaceVertexCCWIter fv_ccwbegin(
FaceHandle _fh);
879 FaceHalfedgeCWIter fh_cwbegin(
FaceHandle _fh);
881 FaceHalfedgeCCWIter fh_ccwbegin(
FaceHandle _fh);
902 ConstFaceVertexIter cfv_begin(
FaceHandle _fh)
const;
904 ConstFaceVertexCWIter cfv_cwbegin(
FaceHandle _fh)
const;
906 ConstFaceVertexCCWIter cfv_ccwbegin(
FaceHandle _fh)
const;
908 ConstFaceHalfedgeIter cfh_begin(
FaceHandle _fh)
const;
910 ConstFaceHalfedgeCWIter cfh_cwbegin(
FaceHandle _fh)
const;
912 ConstFaceHalfedgeCCWIter cfh_ccwbegin(
FaceHandle _fh)
const;
914 ConstFaceEdgeIter cfe_begin(
FaceHandle _fh)
const;
916 ConstFaceEdgeCWIter cfe_cwbegin(
FaceHandle _fh)
const;
918 ConstFaceEdgeCCWIter cfe_ccwbegin(
FaceHandle _fh)
const;
920 ConstFaceFaceIter cff_begin(
FaceHandle _fh)
const;
922 ConstFaceFaceCWIter cff_cwbegin(
FaceHandle _fh)
const;
924 ConstFaceFaceCCWIter cff_ccwbegin(
FaceHandle _fh)
const;
968 ConstVertexVertexCWIter cvv_cwend(
VertexHandle _vh)
const;
970 ConstVertexVertexCCWIter cvv_ccwend(
VertexHandle _vh)
const;
972 ConstVertexIHalfedgeIter cvih_end(
VertexHandle _vh)
const;
974 ConstVertexIHalfedgeCWIter cvih_cwend(
VertexHandle _vh)
const;
976 ConstVertexIHalfedgeCCWIter cvih_ccwend(
VertexHandle _vh)
const;
978 ConstVertexOHalfedgeIter cvoh_end(
VertexHandle _vh)
const;
980 ConstVertexOHalfedgeCWIter cvoh_cwend(
VertexHandle _vh)
const;
982 ConstVertexOHalfedgeCCWIter cvoh_ccwend(
VertexHandle _vh)
const;
986 ConstVertexEdgeCWIter cve_cwend(
VertexHandle _vh)
const;
988 ConstVertexEdgeCCWIter cve_ccwend(
VertexHandle _vh)
const;
992 ConstVertexFaceCWIter cvf_cwend(
VertexHandle _vh)
const;
994 ConstVertexFaceCCWIter cvf_ccwend(
VertexHandle _vh)
const;
1007 FaceHalfedgeCCWIter fh_ccwend(
FaceHandle _fh);
1028 ConstFaceVertexIter cfv_end(
FaceHandle _fh)
const;
1030 ConstFaceVertexCWIter cfv_cwend(
FaceHandle _fh)
const;
1032 ConstFaceVertexCCWIter cfv_ccwend(
FaceHandle _fh)
const;
1034 ConstFaceHalfedgeIter cfh_end(
FaceHandle _fh)
const;
1036 ConstFaceHalfedgeCWIter cfh_cwend(
FaceHandle _fh)
const;
1038 ConstFaceHalfedgeCCWIter cfh_ccwend(
FaceHandle _fh)
const;
1040 ConstFaceEdgeIter cfe_end(
FaceHandle _fh)
const;
1042 ConstFaceEdgeCWIter cfe_cwend(
FaceHandle _fh)
const;
1044 ConstFaceEdgeCCWIter cfe_ccwend(
FaceHandle _fh)
const;
1046 ConstFaceFaceIter cff_end(
FaceHandle _fh)
const;
1048 ConstFaceFaceCWIter cff_cwend(
FaceHandle _fh)
const;
1050 ConstFaceFaceCCWIter cff_ccwend(
FaceHandle _fh)
const;
1068 const PolyConnectivity,
1073 const PolyConnectivity,
1078 const PolyConnectivity,
1083 const PolyConnectivity,
1088 const PolyConnectivity,
1093 const PolyConnectivity,
1098 const PolyConnectivity,
1104 template <
typename HandleType>
1111 ConstVertexRangeSkipping vertices()
const;
1117 ConstVertexRange all_vertices()
const;
1123 ConstHalfedgeRangeSkipping halfedges()
const;
1129 ConstHalfedgeRange all_halfedges()
const;
1135 ConstEdgeRangeSkipping edges()
const;
1141 ConstEdgeRange all_edges()
const;
1147 ConstFaceRangeSkipping faces()
const;
1153 ConstFaceRange all_faces()
const;
1159 template <
typename HandleType>
1166 template <
typename HandleType>
1172 ConstVertexVertexCWIter,
1179 ConstVertexIHalfedgeIter,
1186 ConstVertexOHalfedgeIter,
1193 ConstVertexEdgeIter,
1200 ConstVertexFaceIter,
1207 ConstFaceVertexIter,
1214 ConstFaceHalfedgeIter,
1235 ConstHalfedgeLoopIter,
1245 ConstVertexVertexRange vv_range(VertexHandle _vh)
const;
1251 ConstVertexIHalfedgeRange vih_range(VertexHandle _vh)
const;
1257 ConstVertexOHalfedgeRange voh_range(VertexHandle _vh)
const;
1263 ConstVertexEdgeRange ve_range(VertexHandle _vh)
const ;
1269 ConstVertexFaceRange vf_range(VertexHandle _vh)
const;
1275 ConstFaceVertexRange fv_range(FaceHandle _fh)
const;
1281 ConstFaceHalfedgeRange fh_range(FaceHandle _fh)
const;
1287 ConstFaceEdgeRange fe_range(FaceHandle _fh)
const;
1293 ConstFaceFaceRange ff_range(FaceHandle _fh)
const;
1299 ConstHalfedgeLoopRange hl_range(HalfedgeHandle _heh)
const;
1328 return (is_boundary(halfedge_handle(_eh, 0)) ||
1329 is_boundary(halfedge_handle(_eh, 1)));
1345 HalfedgeHandle heh(halfedge_handle(_vh));
1358 bool is_boundary(FaceHandle _fh,
bool _check_vertex=
false)
const;
1370 bool is_manifold(VertexHandle _vh)
const;
1379 void adjust_outgoing_halfedge(VertexHandle _vh);
1384 uint valence(VertexHandle _vh)
const;
1386 uint valence(FaceHandle _fh)
const;
1404 void collapse(HalfedgeHandle _heh);
1409 bool is_simple_link(EdgeHandle _eh)
const;
1414 bool is_simply_connected(FaceHandle _fh)
const;
1427 FaceHandle remove_edge(EdgeHandle _eh);
1431 void reinsert_edge(EdgeHandle _eh);
1441 HalfedgeHandle insert_edge(HalfedgeHandle _prev_heh, HalfedgeHandle _next_heh);
1455 void split(FaceHandle _fh, VertexHandle _vh);
1470 void split_copy(FaceHandle _fh, VertexHandle _vh);
1485 void triangulate(FaceHandle _fh);
1501 void split_edge(EdgeHandle _eh, VertexHandle _vh);
1514 void split_edge_copy(EdgeHandle _eh, VertexHandle _vh);
1522 const Vertex& deref(VertexHandle _h)
const {
return vertex(_h); }
1524 Vertex&
deref(VertexHandle _h) {
return vertex(_h); }
1525 const Halfedge&
deref(HalfedgeHandle _h)
const {
return halfedge(_h); }
1526 Halfedge&
deref(HalfedgeHandle _h) {
return halfedge(_h); }
1527 const Edge&
deref(EdgeHandle _h)
const {
return edge(_h); }
1528 Edge&
deref(EdgeHandle _h) {
return edge(_h); }
1529 const Face&
deref(FaceHandle _h)
const {
return face(_h); }
1530 Face&
deref(FaceHandle _h) {
return face(_h); }
1535 void collapse_edge(HalfedgeHandle _hh);
1537 void collapse_loop(HalfedgeHandle _hh);
1544 HalfedgeHandle halfedge_handle;
1548 std::vector<AddFaceEdgeInfo> edgeData_;
1549 std::vector<std::pair<HalfedgeHandle, HalfedgeHandle> > next_cache_;
1583 #define OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE 1584 #include <OpenMesh/Core/Mesh/SmartHandles.hh> 1585 #include <OpenMesh/Core/Mesh/PolyConnectivity_inline_impl.hh> 1586 #undef OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE 1588 #endif//OPENMESH_POLYCONNECTIVITY_HH Iterators::GenericCirculatorT< VertexEdgeTraits, false > VertexEdgeCCWIter
Handle for a edge entity.
Handle for a face entity.
HalfedgeHandle HHandle
Alias typedef.
FaceHalfedgeIter ConstFaceHalfedgeIter
ConstEdgeIter CEIter
Alias typedef.
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstVertexIter, &PolyConnectivity::vertices_sbegin, &PolyConnectivity::vertices_end > > ConstVertexRangeSkipping
VertexIter ConstVertexIter
Linear iterator.
FaceFaceCCWIter ConstFaceFaceCCWIter
VertexIter vertices_end()
End iterator for vertices.
ConstFaceEdgeIter cfe_end(FaceHandle _fh) const
const face - edge circulator
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexEdgeIter, VertexHandle, EdgeHandle, &PolyConnectivity::cve_begin, &PolyConnectivity::cve_end > > ConstVertexEdgeRange
FaceHandle FHandle
Alias typedef.
ConstVertexOHalfedgeCCWIter CVOHCCWIter
Alias typedef.
FaceHalfedgeCWIter ConstFaceHalfedgeCWIter
ConstFaceVertexIter cfv_begin(FaceHandle _fh) const
const face - vertex circulator
ConstVertexEdgeCWIter CVECWIter
Alias typedef.
Iterators::GenericCirculatorT_DEPRECATED< FaceFaceTraits > FaceFaceIter
Iterators::GenericCirculatorT_DEPRECATED< VertexOppositeHalfedgeTraits > VertexIHalfedgeIter
HalfedgeLoopIter ConstHalfedgeLoopIter
ConstVertexOHalfedgeIter CVOHIter
Alias typedef.
EdgeIter EIter
Alias typedef.
VertexVertexCWIter ConstVertexVertexCWIter
VertexOHalfedgeIter ConstVertexOHalfedgeIter
VertexOHalfedgeCWIter ConstVertexOHalfedgeCWIter
ConstFaceIter CFIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceEdgeIter, FaceHandle, EdgeHandle, &PolyConnectivity::cfe_begin, &PolyConnectivity::cfe_end > > ConstFaceEdgeRange
Iterators::GenericCirculatorT_DEPRECATED< FaceEdgeTraits > FaceEdgeIter
Handle for a halfedge entity.
VertexFaceCWIter ConstVertexFaceCWIter
EdgeHandle EHandle
Alias typedef.
Iterators::GenericCirculatorT< VertexFaceTraits, true > VertexFaceCWIter
FaceIter faces_begin()
Begin iterator for faces.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceFaceIter, FaceHandle, FaceHandle, &PolyConnectivity::cff_begin, &PolyConnectivity::cff_end > > ConstFaceFaceRange
VertexVertexIter VVIter
Alias typedef.
Edge & deref(EdgeHandle _h)
Get item from handle.
VertexIHalfedgeCCWIter ConstVertexIHalfedgeCCWIter
VertexEdgeIter ConstVertexEdgeIter
Iterators::GenericCirculatorT< FaceHalfedgeTraits, true > HalfedgeLoopCCWIter
VertexFaceCWIter VFCWIter
Alias typedef.
HalfedgeLoopCWIter ConstHalfedgeLoopCWIter
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstHalfedgeIter, &PolyConnectivity::halfedges_begin, &PolyConnectivity::halfedges_end > > ConstHalfedgeRange
ConstFaceHalfedgeIter cfh_begin(FaceHandle _fh) const
const face - halfedge circulator
void assign_connectivity(const PolyConnectivity &_other)
ConstVertexOHalfedgeCWIter CVOHCWIter
Alias typedef.
FaceEdgeCWIter FECWIter
Alias typedef.
VertexIHalfedgeCWIter VIHICWter
Alias typedef.
VertexIHalfedgeCCWIter VIHICCWter
Alias typedef.
FaceIter faces_end()
End iterator for faces.
bool is_boundary(VertexHandle _vh) const
Is vertex _vh a boundary vertex ?
VertexOHalfedgeCCWIter ConstVertexOHalfedgeCCWIter
ConstFaceFaceIter CFFIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexVertexCWIter, VertexHandle, VertexHandle, &PolyConnectivity::cvv_cwbegin, &PolyConnectivity::cvv_cwend > > ConstVertexVertexRange
Handle for a vertex entity.
VertexEdgeCCWIter ConstVertexEdgeCCWIter
ConstFaceEdgeCWIter CFECWIter
Alias typedef.
ConstFaceEdgeIter cfe_begin(FaceHandle _fh) const
const face - edge circulator
bool is_valid() const
The handle is valid iff the index is not negative.
FaceHalfedgeIter FHIter
Alias typedef.
bool is_boundary(HalfedgeHandle _heh) const
Is halfedge _heh a boundary halfedge (is its face handle invalid) ?
VertexIHalfedgeIter ConstVertexIHalfedgeIter
Iterators::GenericCirculatorT_DEPRECATED< FaceVertexTraits > FaceVertexIter
Iterators::GenericCirculatorT< FaceFaceTraits, true > FaceFaceCCWIter
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstVertexIter, &PolyConnectivity::vertices_begin, &PolyConnectivity::vertices_end > > ConstVertexRange
FaceFaceIter FFIter
Alias typedef.
FaceVertexCCWIter FVCCWIter
Alias typedef.
ConstFaceHalfedgeCCWIter CFHCCWIter
Alias typedef.
EdgeIter edges_end()
End iterator for edges.
Iterators::GenericCirculatorT< VertexFaceTraits, false > VertexFaceCCWIter
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstFaceIter, &PolyConnectivity::faces_begin, &PolyConnectivity::faces_end > > ConstFaceRange
HalfedgeLoopCCWIter ConstHalfedgeLoopCCWIter
Iterators::GenericIteratorT< This, This::EdgeHandle, ArrayKernel, &ArrayKernel::has_edge_status, &ArrayKernel::n_edges > EdgeIter
Linear iterator.
const Face & deref(FaceHandle _h) const
Get item from handle.
ConstFaceVertexIter cfv_end(FaceHandle _fh) const
const face - vertex circulator
ConstVertexVertexCWIter cvv_cwbegin(VertexHandle _vh) const
const vertex circulator cw
Vertex & deref(VertexHandle _h)
Get item from handle.
Iterators::GenericIteratorT< This, This::FaceHandle, ArrayKernel, &ArrayKernel::has_face_status, &ArrayKernel::n_faces > FaceIter
Linear iterator.
SmartHalfedgeHandle opposite_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
FaceIter faces_sbegin()
Begin iterator for faces.
VertexOHalfedgeCCWIter VOHCCWIter
Alias typedef.
HalfedgeIter halfedges_sbegin()
Begin iterator for halfedges.
void assign_connectivity(const ArrayKernel &_other)
ConstVertexVertexCWIter cvv_cwend(VertexHandle _vh) const
const vertex circulator cw
VertexIHalfedgeIter VIHIter
Alias typedef.
VertexVertexCCWIter VVCCWIter
Alias typedef.
Iterators::GenericCirculatorT< FaceHalfedgeTraits, false > HalfedgeLoopCWIter
Iterators::GenericCirculatorT< VertexEdgeTraits, true > VertexEdgeCWIter
ConstVertexIHalfedgeCWIter CVIHCWIter
Alias typedef.
ConstVertexFaceIter cvf_begin(VertexHandle _vh) const
const vertex - face circulator
VertexIter VIter
Alias typedef.
Iterators::GenericCirculatorT_DEPRECATED< FaceHalfedgeTraits > HalfedgeLoopIter
VertexVertexIter ConstVertexVertexIter
VertexEdgeIter VEIter
Alias typedef.
FaceIter FIter
Alias typedef.
FaceEdgeIter FEIter
Alias typedef.
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstFaceIter, &PolyConnectivity::faces_sbegin, &PolyConnectivity::faces_end > > ConstFaceRangeSkipping
Iterators::GenericCirculatorT< VertexHalfedgeTraits, false > VertexOHalfedgeCCWIter
FaceVertexIter FVIter
Alias typedef.
VertexFaceIter VFIter
Alias typedef.
FaceEdgeCWIter ConstFaceEdgeCWIter
Iterators::GenericCirculatorT_DEPRECATED< VertexVertexTraits > VertexVertexIter
ConstVertexVertexCCWIter CVVCCWIter
Alias typedef.
FaceEdgeIter ConstFaceEdgeIter
bool is_boundary(HalfedgeHandle _heh) const
Check if the halfedge is at the boundary.
ConstVertexIHalfedgeIter CVIHIter
Alias typedef.
VertexOHalfedgeCWIter VOHCWIter
Alias typedef.
Generic class for iterator ranges.
ConstFaceHalfedgeCWIter CFHCWIter
Alias typedef.
ConstVertexEdgeIter cve_end(VertexHandle _vh) const
const vertex - edge circulator
VertexVertexCWIter VVCWIter
Alias typedef.
ConstFaceHalfedgeIter cfh_end(FaceHandle _fh) const
const face - halfedge circulator
ConstHalfedgeLoopIter chl_end(HalfedgeHandle _heh) const
const face - face circulator
HalfedgeIter halfedges_begin()
Begin iterator for halfedges.
ConstVertexOHalfedgeIter cvoh_begin(VertexHandle _vh) const
const vertex - outgoing halfedge circulator
Halfedge & deref(HalfedgeHandle _h)
Get item from handle.
ConstFaceFaceCCWIter CFFCCWIter
Alias typedef.
Iterators::GenericCirculatorT_DEPRECATED< VertexFaceTraits > VertexFaceIter
VertexEdgeCWIter VECWIter
Alias typedef.
Iterators::GenericIteratorT< This, This::HalfedgeHandle, ArrayKernel, &ArrayKernel::has_halfedge_status, &ArrayKernel::n_halfedges > HalfedgeIter
Linear iterator.
ConstFaceEdgeCCWIter CFECCWIter
Alias typedef.
Iterators::GenericCirculatorT< FaceVertexTraits, false > FaceVertexCWIter
FaceEdgeCCWIter FECWWIter
Alias typedef.
Iterators::GenericCirculatorT< FaceEdgeTraits, true > FaceEdgeCCWIter
Face & deref(FaceHandle _h)
Get item from handle.
ConstFaceVertexCWIter CFVCWIter
Alias typedef.
FaceVertexCWIter FVCWIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstHalfedgeLoopIter, HalfedgeHandle, HalfedgeHandle, &PolyConnectivity::chl_begin, &PolyConnectivity::chl_end > > ConstHalfedgeLoopRange
ConstFaceVertexIter CFVIter
Alias typedef.
VertexOHalfedgeIter VOHIter
Alias typedef.
ConstVertexVertexCWIter CVVCWIter
Alias typedef.
FaceHalfedgeCCWIter FHCWWIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexIHalfedgeIter, VertexHandle, HalfedgeHandle, &PolyConnectivity::cvih_begin, &PolyConnectivity::cvih_end > > ConstVertexIHalfedgeRange
Iterators::GenericCirculatorT_DEPRECATED< FaceHalfedgeTraits > FaceHalfedgeIter
FaceVertexIter ConstFaceVertexIter
Iterators::GenericCirculatorT< VertexOppositeHalfedgeTraits, true > VertexIHalfedgeCWIter
Iterators::GenericCirculatorT< FaceHalfedgeTraits, false > FaceHalfedgeCWIter
VertexFaceIter ConstVertexFaceIter
FaceFaceIter ConstFaceFaceIter
ConstHalfedgeIter CHIter
Alias typedef.
FaceFaceCWIter ConstFaceFaceCWIter
ConstVertexIter CVIter
Alias typedef.
FaceIter ConstFaceIter
Linear iterator.
Generic class for vertex/halfedge/edge/face ranges.
ConstVertexIHalfedgeCCWIter CVIHCCWIter
Alias typedef.
HalfedgeIter ConstHalfedgeIter
Linear iterator.
ConstVertexEdgeIter cve_begin(VertexHandle _vh) const
const vertex - edge circulator
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstEdgeIter, &PolyConnectivity::edges_begin, &PolyConnectivity::edges_end > > ConstEdgeRange
ConstVertexEdgeCCWIter CVECCWIter
Alias typedef.
Iterators::GenericCirculatorT< FaceHalfedgeTraits, true > FaceHalfedgeCCWIter
VertexFaceCCWIter VFCCWIter
Alias typedef.
VertexIter vertices_begin()
Begin iterator for vertices.
VertexIHalfedgeCWIter ConstVertexIHalfedgeCWIter
FaceHalfedgeCWIter FHCWIter
Alias typedef.
VertexVertexCCWIter ConstVertexVertexCCWIter
Iterators::GenericCirculatorT< FaceVertexTraits, true > FaceVertexCCWIter
Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access t...
Iterators::GenericCirculatorT< VertexHalfedgeTraits, true > VertexOHalfedgeCWIter
ConstHalfedgeLoopIter chl_begin(HalfedgeHandle _heh) const
const halfedge circulator
ConstVertexEdgeIter CVEIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexFaceIter, VertexHandle, FaceHandle, &PolyConnectivity::cvf_begin, &PolyConnectivity::cvf_end > > ConstVertexFaceRange
FaceVertexCWIter ConstFaceVertexCWIter
EdgeIter ConstEdgeIter
Linear iterator.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceVertexIter, FaceHandle, VertexHandle, &PolyConnectivity::cfv_begin, &PolyConnectivity::cfv_end > > ConstFaceVertexRange
Iterators::GenericCirculatorT< FaceEdgeTraits, false > FaceEdgeCWIter
ConstFaceFaceIter cff_begin(FaceHandle _fh) const
const face - face circulator
VertexIter vertices_sbegin()
Begin iterator for vertices.
HalfedgeIter halfedges_end()
End iterator for halfedges.
ConstFaceVertexCCWIter CFVCCWIter
Alias typedef.
static const HalfedgeHandle InvalidHalfedgeHandle
Invalid handle.
static const EdgeHandle InvalidEdgeHandle
Invalid handle.
ConstVertexFaceIter CVFIter
Alias typedef.
ConstFaceFaceCWIter CFFCWIter
Alias typedef.
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstHalfedgeIter, &PolyConnectivity::halfedges_sbegin, &PolyConnectivity::halfedges_end > > ConstHalfedgeRangeSkipping
FaceEdgeCCWIter ConstFaceEdgeCCWIter
Iterators::GenericCirculatorT_DEPRECATED< VertexEdgeTraits > VertexEdgeIter
Connectivity Class for polygonal meshes.
ConstVertexFaceIter cvf_end(VertexHandle _vh) const
const vertex - face circulator
ConstVertexIHalfedgeIter cvih_end(VertexHandle _vh) const
const vertex - incoming halfedge circulator
VertexEdgeCCWIter VECCWIter
Alias typedef.
FaceVertexCCWIter ConstFaceVertexCCWIter
VertexFaceCCWIter ConstVertexFaceCCWIter
static const FaceHandle InvalidFaceHandle
Invalid handle.
ConstVertexFaceCCWIter CVFCCWIter
Alias typedef.
Iterators::GenericCirculatorT< FaceFaceTraits, false > FaceFaceCWIter
ConstFaceHalfedgeIter CFHIter
Alias typedef.
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstEdgeIter, &PolyConnectivity::edges_sbegin, &PolyConnectivity::edges_end > > ConstEdgeRangeSkipping
ConstVertexFaceCWIter CVFCWIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexOHalfedgeIter, VertexHandle, HalfedgeHandle, &PolyConnectivity::cvoh_begin, &PolyConnectivity::cvoh_end > > ConstVertexOHalfedgeRange
EdgeIter edges_sbegin()
Begin iterator for edges.
ConstVertexVertexIter CVVIter
Alias typedef.
const Halfedge & deref(HalfedgeHandle _h) const
Get item from handle.
Iterators::GenericCirculatorT< VertexOppositeHalfedgeTraits, false > VertexIHalfedgeCCWIter
Iterators::GenericCirculatorT_DEPRECATED< VertexHalfedgeTraits > VertexOHalfedgeIter
EdgeIter edges_begin()
Begin iterator for edges.
ConstFaceEdgeIter CFEIter
Alias typedef.
ConstFaceFaceIter cff_end(FaceHandle _fh) const
const face - face circulator
ConstVertexOHalfedgeIter cvoh_end(VertexHandle _vh) const
const vertex - outgoing halfedge circulator
bool is_boundary(EdgeHandle _eh) const
Is the edge a boundary edge?
FaceHalfedgeCCWIter ConstFaceHalfedgeCCWIter
HalfedgeIter HIter
Alias typedef.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceHalfedgeIter, FaceHandle, HalfedgeHandle, &PolyConnectivity::cfh_begin, &PolyConnectivity::cfh_end > > ConstFaceHalfedgeRange
Iterators::GenericCirculatorT< VertexVertexTraits, true > VertexVertexCWIter
Iterators::GenericCirculatorT< VertexVertexTraits, false > VertexVertexCCWIter
VertexEdgeCWIter ConstVertexEdgeCWIter
ConstVertexIHalfedgeIter cvih_begin(VertexHandle _vh) const
const vertex - incoming halfedge circulator
const Edge & deref(EdgeHandle _h) const
Get item from handle.