Developer Documentation
PolyConnectivity_inline_impl.hh
1 /* ========================================================================= *
2  * *
3  * OpenMesh *
4  * Copyright (c) 2001-2015, RWTH-Aachen University *
5  * Department of Computer Graphics and Multimedia *
6  * All rights reserved. *
7  * www.openmesh.org *
8  * *
9  *---------------------------------------------------------------------------*
10  * This file is part of OpenMesh. *
11  *---------------------------------------------------------------------------*
12  * *
13  * Redistribution and use in source and binary forms, with or without *
14  * modification, are permitted provided that the following conditions *
15  * are met: *
16  * *
17  * 1. Redistributions of source code must retain the above copyright notice, *
18  * this list of conditions and the following disclaimer. *
19  * *
20  * 2. Redistributions in binary form must reproduce the above copyright *
21  * notice, this list of conditions and the following disclaimer in the *
22  * documentation and/or other materials provided with the distribution. *
23  * *
24  * 3. Neither the name of the copyright holder nor the names of its *
25  * contributors may be used to endorse or promote products derived from *
26  * this software without specific prior written permission. *
27  * *
28  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
29  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
30  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
31  * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *
32  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
33  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
34  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
35  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
36  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
37  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
38  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
39  * *
40  * ========================================================================= */
41 
42 #ifndef OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE
43 #error Do not include this directly, include instead PolyConnectivity.hh
44 #endif // OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE
45 
46 #include <OpenMesh/Core/Mesh/IteratorsT.hh>
47 #include <OpenMesh/Core/Mesh/CirculatorsT.hh>
48 
49 namespace OpenMesh {
50 
51 
53 
59 
60 inline SmartHalfedgeHandle PolyConnectivity::s_halfedge_handle(SmartEdgeHandle _eh, unsigned int _i) { return make_smart(ArrayKernel::s_halfedge_handle(EdgeHandle(_eh), _i), _eh.mesh()); }
61 inline SmartEdgeHandle PolyConnectivity::s_edge_handle(SmartHalfedgeHandle _heh) { return make_smart(ArrayKernel::s_edge_handle(HalfedgeHandle(_heh)), _heh.mesh()); }
62 
63 inline SmartHalfedgeHandle PolyConnectivity::halfedge_handle(SmartEdgeHandle _eh, unsigned int _i) const { return make_smart(halfedge_handle(EdgeHandle(_eh), _i), *this); }
67 
69 
71 
72 
74 template <typename RangeTraitT>
75 class EntityRange : public SmartRangeT<EntityRange<RangeTraitT>, typename RangeTraitT::ITER_TYPE::SmartHandle> {
76  public:
77  typedef typename RangeTraitT::ITER_TYPE iterator;
78  typedef typename RangeTraitT::ITER_TYPE const_iterator;
79 
80  explicit EntityRange(typename RangeTraitT::CONTAINER_TYPE &container) : container_(container) {}
81  typename RangeTraitT::ITER_TYPE begin() const { return RangeTraitT::begin(container_); }
82  typename RangeTraitT::ITER_TYPE end() const { return RangeTraitT::end(container_); }
83 
84  private:
85  typename RangeTraitT::CONTAINER_TYPE &container_;
86 };
87 
89 template <typename CirculatorRangeTraitT>
90 //class CirculatorRange : public SmartRangeT<CirculatorRange<CirculatorRangeTraitT>, decltype (make_smart(std::declval<typename CirculatorRangeTraitT::TO_ENTITYE_TYPE>(), std::declval<PolyConnectivity>()))>{
91 class CirculatorRange : public SmartRangeT<CirculatorRange<CirculatorRangeTraitT>, typename SmartHandle<typename CirculatorRangeTraitT::TO_ENTITYE_TYPE>::type>{
92  public:
93  typedef typename CirculatorRangeTraitT::ITER_TYPE ITER_TYPE;
94  typedef typename CirculatorRangeTraitT::CENTER_ENTITY_TYPE CENTER_ENTITY_TYPE;
95  typedef typename CirculatorRangeTraitT::CONTAINER_TYPE CONTAINER_TYPE;
96  typedef ITER_TYPE iterator;
97  typedef ITER_TYPE const_iterator;
98 
100  const CONTAINER_TYPE &container,
101  CENTER_ENTITY_TYPE center) :
102  container_(container), center_(center) {}
103  ITER_TYPE begin() const { return CirculatorRangeTraitT::begin(container_, center_); }
104  ITER_TYPE end() const { return CirculatorRangeTraitT::end(container_, center_); }
105 
106  private:
107  const CONTAINER_TYPE &container_;
108  CENTER_ENTITY_TYPE center_;
109 };
110 
111 
120 
121 template <> inline PolyConnectivity::ConstVertexRangeSkipping PolyConnectivity::elements<VertexHandle>() const { return vertices(); }
122 template <> inline PolyConnectivity::ConstVertexRange PolyConnectivity::all_elements<VertexHandle>() const { return all_vertices(); }
123 template <> inline PolyConnectivity::ConstHalfedgeRangeSkipping PolyConnectivity::elements<HalfedgeHandle>() const { return halfedges(); }
124 template <> inline PolyConnectivity::ConstHalfedgeRange PolyConnectivity::all_elements<HalfedgeHandle>() const { return all_halfedges(); }
125 template <> inline PolyConnectivity::ConstEdgeRangeSkipping PolyConnectivity::elements<EdgeHandle>() const { return edges(); }
126 template <> inline PolyConnectivity::ConstEdgeRange PolyConnectivity::all_elements<EdgeHandle>() const { return all_edges(); }
127 template <> inline PolyConnectivity::ConstFaceRangeSkipping PolyConnectivity::elements<FaceHandle>() const { return faces(); }
128 template <> inline PolyConnectivity::ConstFaceRange PolyConnectivity::all_elements<FaceHandle>() const { return all_faces(); }
129 
130 
132  return ConstVertexVertexRange(*this, _vh);
133 }
134 
136  return ConstVertexIHalfedgeRange(*this, _vh);
137 }
138 
140  return ConstVertexOHalfedgeRange(*this, _vh);
141 }
142 
144  return ConstVertexEdgeRange(*this, _vh);
145 }
146 
148  return ConstVertexFaceRange(*this, _vh);
149 }
150 
152  return ConstFaceVertexRange(*this, _fh);
153 }
154 
156  return ConstFaceHalfedgeRange(*this, _fh);
157 }
158 
160  return ConstFaceEdgeRange(*this, _fh);
161 }
162 
164  return ConstFaceFaceRange(*this, _fh);
165 }
166 
168  return ConstHalfedgeLoopRange(*this, _heh);
169 }
170 
171 
172 
173 
175 { return VertexIter(*this, VertexHandle(0)); }
176 
178 { return ConstVertexIter(*this, VertexHandle(0)); }
179 
181 { return VertexIter(*this, VertexHandle( int(n_vertices() ) )); }
182 
184 { return ConstVertexIter(*this, VertexHandle( int(n_vertices()) )); }
185 
187 { return HalfedgeIter(*this, HalfedgeHandle(0)); }
188 
190 { return ConstHalfedgeIter(*this, HalfedgeHandle(0)); }
191 
193 { return HalfedgeIter(*this, HalfedgeHandle(int(n_halfedges()))); }
194 
196 { return ConstHalfedgeIter(*this, HalfedgeHandle(int(n_halfedges()))); }
197 
199 { return EdgeIter(*this, EdgeHandle(0)); }
200 
202 { return ConstEdgeIter(*this, EdgeHandle(0)); }
203 
205 { return EdgeIter(*this, EdgeHandle(int(n_edges()))); }
206 
208 { return ConstEdgeIter(*this, EdgeHandle(int(n_edges()))); }
209 
211 { return FaceIter(*this, FaceHandle(0)); }
212 
214 { return ConstFaceIter(*this, FaceHandle(0)); }
215 
217 { return FaceIter(*this, FaceHandle(int(n_faces()))); }
218 
219 
221 { return ConstFaceIter(*this, FaceHandle(int(n_faces()))); }
222 
224 { return VertexIter(*this, VertexHandle(0), true); }
225 
227 { return ConstVertexIter(*this, VertexHandle(0), true); }
228 
230 { return HalfedgeIter(*this, HalfedgeHandle(0), true); }
231 
233 { return ConstHalfedgeIter(*this, HalfedgeHandle(0), true); }
234 
236 { return EdgeIter(*this, EdgeHandle(0), true); }
237 
239 { return ConstEdgeIter(*this, EdgeHandle(0), true); }
240 
242 { return FaceIter(*this, FaceHandle(0), true); }
243 
245 { return ConstFaceIter(*this, FaceHandle(0), true); }
246 
248 { return VertexVertexIter(*this, _vh); }
249 
251 { return VertexVertexCWIter(*this, _vh); }
252 
254 { return VertexVertexCCWIter(*this, _vh); }
255 
257 { return VertexIHalfedgeIter(*this, _vh); }
258 
260 { return VertexIHalfedgeCWIter(*this, _vh); }
261 
263 { return VertexIHalfedgeCCWIter(*this, _vh); }
264 
266 { return VertexOHalfedgeIter(*this, _vh); }
267 
269 { return VertexOHalfedgeCWIter(*this, _vh); }
270 
272 { return VertexOHalfedgeCCWIter(*this, _vh); }
273 
275 { return VertexEdgeIter(*this, _vh); }
276 
278 { return VertexEdgeCWIter(*this, _vh); }
279 
281 { return VertexEdgeCCWIter(*this, _vh); }
282 
284 { return VertexFaceIter(*this, _vh); }
285 
287 { return VertexFaceCWIter(*this, _vh); }
288 
290 { return VertexFaceCCWIter(*this, _vh); }
291 
293 { return ConstVertexVertexIter(*this, _vh); }
294 
296 { return ConstVertexVertexCWIter(*this, _vh); }
297 
299 { return ConstVertexVertexCCWIter(*this, _vh); }
300 
302 { return ConstVertexIHalfedgeIter(*this, _vh); }
303 
305 { return ConstVertexIHalfedgeCWIter(*this, _vh); }
306 
308 { return ConstVertexIHalfedgeCCWIter(*this, _vh); }
309 
311 { return ConstVertexOHalfedgeIter(*this, _vh); }
312 
314 { return ConstVertexOHalfedgeCWIter(*this, _vh); }
315 
317 { return ConstVertexOHalfedgeCCWIter(*this, _vh); }
318 
320 { return ConstVertexEdgeIter(*this, _vh); }
321 
323 { return ConstVertexEdgeCWIter(*this, _vh); }
324 
326 { return ConstVertexEdgeCCWIter(*this, _vh); }
327 
329 { return ConstVertexFaceIter(*this, _vh); }
330 
332 { return ConstVertexFaceCWIter(*this, _vh); }
333 
335 { return ConstVertexFaceCCWIter(*this, _vh); }
336 
338 { return FaceVertexIter(*this, _fh); }
339 
341 { return FaceVertexCWIter(*this, _fh); }
342 
344 { return FaceVertexCCWIter(*this, _fh); }
345 
347 { return FaceHalfedgeIter(*this, _fh); }
348 
350 { return FaceHalfedgeCWIter(*this, _fh); }
351 
353 { return FaceHalfedgeCCWIter(*this, _fh); }
354 
356 { return FaceEdgeIter(*this, _fh); }
357 
359 { return FaceEdgeCWIter(*this, _fh); }
360 
362 { return FaceEdgeCCWIter(*this, _fh); }
363 
365 { return FaceFaceIter(*this, _fh); }
366 
368 { return FaceFaceCWIter(*this, _fh); }
369 
371 { return FaceFaceCCWIter(*this, _fh); }
372 
374 { return ConstFaceVertexIter(*this, _fh); }
375 
377 { return ConstFaceVertexCWIter(*this, _fh); }
378 
380 { return ConstFaceVertexCCWIter(*this, _fh); }
381 
383 { return ConstFaceHalfedgeIter(*this, _fh); }
384 
386 { return ConstFaceHalfedgeCWIter(*this, _fh); }
387 
389 { return ConstFaceHalfedgeCCWIter(*this, _fh); }
390 
392 { return ConstFaceEdgeIter(*this, _fh); }
393 
395 { return ConstFaceEdgeCWIter(*this, _fh); }
396 
398 { return ConstFaceEdgeCCWIter(*this, _fh); }
399 
401 { return ConstFaceFaceIter(*this, _fh); }
402 
404 { return ConstFaceFaceCWIter(*this, _fh); }
405 
407 { return ConstFaceFaceCCWIter(*this, _fh); }
408 
409 
411 { return VertexVertexIter(*this, _vh); }
412 
414 { return VertexVertexCWIter(*this, _vh); }
415 
417 { return VertexVertexCCWIter(*this, _vh); }
418 
420 { return VertexIHalfedgeIter(*this, _vh); }
421 
423 { return VertexIHalfedgeCWIter(*this, _vh); }
424 
426 { return VertexIHalfedgeCCWIter(*this, _vh); }
427 
429 { return VertexOHalfedgeIter(*this, _vh); }
430 
432 { return VertexOHalfedgeCWIter(*this, _vh); }
433 
435 { return VertexOHalfedgeCCWIter(*this, _vh); }
436 
438 { return VertexEdgeIter(*this, _vh); }
439 
441 { return VertexEdgeCWIter(*this, _vh); }
442 
444 { return VertexEdgeCCWIter(*this, _vh); }
445 
447 { return VertexFaceIter(*this, _vh); }
448 
450 { return VertexFaceCWIter(*this, _vh); }
451 
453 { return VertexFaceCCWIter(*this, _vh); }
454 
455 
457 { return ConstVertexVertexIter(*this, _vh); }
458 
460 { return ConstVertexVertexCWIter(*this, _vh); }
461 
463 { return ConstVertexVertexCCWIter(*this, _vh); }
464 
466 { return ConstVertexIHalfedgeIter(*this, _vh); }
467 
469 { return ConstVertexIHalfedgeCWIter(*this, _vh); }
470 
472 { return ConstVertexIHalfedgeCCWIter(*this, _vh); }
473 
475 { return ConstVertexOHalfedgeIter(*this, _vh); }
476 
478 { return ConstVertexOHalfedgeCWIter(*this, _vh); }
479 
481 { return ConstVertexOHalfedgeCCWIter(*this, _vh); }
482 
484 { return ConstVertexEdgeIter(*this, _vh); }
485 
487 { return ConstVertexEdgeCWIter(*this, _vh); }
488 
490 { return ConstVertexEdgeCCWIter(*this, _vh); }
491 
493 { return ConstVertexFaceIter(*this, _vh); }
494 
496 { return ConstVertexFaceCWIter(*this, _vh); }
497 
499 { return ConstVertexFaceCCWIter(*this, _vh); }
500 
501 
503 { return FaceVertexIter(*this, _fh); }
504 
506 { return FaceVertexCWIter(*this, _fh); }
507 
509 { return FaceVertexCCWIter(*this, _fh); }
510 
512 { return FaceHalfedgeIter(*this, _fh); }
513 
515 { return FaceHalfedgeCWIter(*this, _fh); }
516 
518 { return FaceHalfedgeCCWIter(*this, _fh); }
519 
521 { return FaceEdgeIter(*this, _fh); }
522 
524 { return FaceEdgeCWIter(*this, _fh); }
525 
527 { return FaceEdgeCCWIter(*this, _fh); }
528 
530 { return FaceFaceIter(*this, _fh); }
531 
533 { return FaceFaceCWIter(*this, _fh); }
534 
536 { return FaceFaceCCWIter(*this, _fh); }
537 
539 { return HalfedgeLoopIter(*this, _heh); }
540 
542 { return HalfedgeLoopCWIter(*this, _heh); }
543 
545 { return HalfedgeLoopCCWIter(*this, _heh); }
546 
547 
549 { return ConstFaceVertexIter(*this, _fh); }
550 
552 { return ConstFaceVertexCWIter(*this, _fh); }
553 
555 { return ConstFaceVertexCCWIter(*this, _fh); }
556 
558 { return ConstFaceHalfedgeIter(*this, _fh); }
559 
561 { return ConstFaceHalfedgeCWIter(*this, _fh); }
562 
564 { return ConstFaceHalfedgeCCWIter(*this, _fh); }
565 
567 { return ConstFaceEdgeIter(*this, _fh); }
568 
570 { return ConstFaceEdgeCWIter(*this, _fh); }
571 
573 { return ConstFaceEdgeCCWIter(*this, _fh); }
574 
576 { return ConstFaceFaceIter(*this, _fh); }
577 
579 { return ConstFaceFaceCWIter(*this, _fh); }
580 
582 { return ConstFaceFaceCCWIter(*this, _fh); }
583 
585 { return ConstHalfedgeLoopIter(*this, _heh); }
586 
588 { return ConstHalfedgeLoopCWIter(*this, _heh); }
589 
591 { return ConstHalfedgeLoopCCWIter(*this, _heh); }
592 
593 // 'end' circulators
594 
596 { return VertexVertexIter(*this, _vh, true); }
597 
599 { return VertexVertexCWIter(*this, _vh, true); }
600 
602 { return VertexVertexCCWIter(*this, _vh, true); }
603 
605 { return VertexIHalfedgeIter(*this, _vh, true); }
606 
608 { return VertexIHalfedgeCWIter(*this, _vh, true); }
609 
611 { return VertexIHalfedgeCCWIter(*this, _vh, true); }
612 
614 { return VertexOHalfedgeIter(*this, _vh, true); }
615 
617 { return VertexOHalfedgeCWIter(*this, _vh, true); }
618 
620 { return VertexOHalfedgeCCWIter(*this, _vh, true); }
621 
623 { return VertexEdgeIter(*this, _vh, true); }
624 
626 { return VertexEdgeCWIter(*this, _vh, true); }
627 
629 { return VertexEdgeCCWIter(*this, _vh, true); }
630 
632 { return VertexFaceIter(*this, _vh, true); }
633 
635 { return VertexFaceCWIter(*this, _vh, true); }
636 
638 { return VertexFaceCCWIter(*this, _vh, true); }
639 
640 
642 { return ConstVertexVertexIter(*this, _vh, true); }
643 
645 { return ConstVertexVertexCWIter(*this, _vh, true); }
646 
648 { return ConstVertexVertexCCWIter(*this, _vh, true); }
649 
651 { return ConstVertexIHalfedgeIter(*this, _vh, true); }
652 
654 { return ConstVertexIHalfedgeCWIter(*this, _vh, true); }
655 
657 { return ConstVertexIHalfedgeCCWIter(*this, _vh, true); }
658 
660 { return ConstVertexOHalfedgeIter(*this, _vh, true); }
661 
663 { return ConstVertexOHalfedgeCWIter(*this, _vh, true); }
664 
666 { return ConstVertexOHalfedgeCCWIter(*this, _vh, true); }
667 
669 { return ConstVertexEdgeIter(*this, _vh, true); }
670 
672 { return ConstVertexEdgeCWIter(*this, _vh, true); }
673 
675 { return ConstVertexEdgeCCWIter(*this, _vh, true); }
676 
678 { return ConstVertexFaceIter(*this, _vh, true); }
679 
681 { return ConstVertexFaceCWIter(*this, _vh, true); }
682 
684 { return ConstVertexFaceCCWIter(*this, _vh, true); }
685 
686 
688 { return FaceVertexIter(*this, _fh, true); }
689 
691 { return FaceVertexCWIter(*this, _fh, true); }
692 
694 { return FaceVertexCCWIter(*this, _fh, true); }
695 
697 { return FaceHalfedgeIter(*this, _fh, true); }
698 
700 { return FaceHalfedgeCWIter(*this, _fh, true); }
701 
703 { return FaceHalfedgeCCWIter(*this, _fh, true); }
704 
706 { return FaceEdgeIter(*this, _fh, true); }
707 
709 { return FaceEdgeCWIter(*this, _fh, true); }
710 
712 { return FaceEdgeCCWIter(*this, _fh, true); }
713 
715 { return FaceFaceIter(*this, _fh, true); }
716 
718 { return FaceFaceCWIter(*this, _fh, true); }
719 
721 { return FaceFaceCCWIter(*this, _fh, true); }
722 
724 { return HalfedgeLoopIter(*this, _heh, true); }
725 
727 { return HalfedgeLoopCWIter(*this, _heh, true); }
728 
730 { return HalfedgeLoopCCWIter(*this, _heh, true); }
731 
732 
734 { return ConstFaceVertexIter(*this, _fh, true); }
735 
737 { return ConstFaceVertexCWIter(*this, _fh, true); }
738 
740 { return ConstFaceVertexCCWIter(*this, _fh, true); }
741 
743 { return ConstFaceHalfedgeIter(*this, _fh, true); }
744 
746 { return ConstFaceHalfedgeCWIter(*this, _fh, true); }
747 
749 { return ConstFaceHalfedgeCCWIter(*this, _fh, true); }
750 
752 { return ConstFaceEdgeIter(*this, _fh, true); }
753 
755 { return ConstFaceEdgeCWIter(*this, _fh, true); }
756 
758 { return ConstFaceEdgeCCWIter(*this, _fh, true); }
759 
761 { return ConstFaceFaceIter(*this, _fh, true); }
762 
764 { return ConstFaceFaceCWIter(*this, _fh, true); }
765 
767 { return ConstFaceFaceCCWIter(*this, _fh, true); }
768 
770 { return ConstHalfedgeLoopIter(*this, _heh, true); }
771 
773 { return ConstHalfedgeLoopCWIter(*this, _heh, true); }
774 
776 { return ConstHalfedgeLoopCCWIter(*this, _heh, true); }
777 
778 
780 {
781  assert(mesh() != nullptr);
782  return mesh()->vf_range(*this);
783 }
784 
786 {
787  assert(mesh() != nullptr);
788  return mesh()->ve_range(*this);
789 }
790 
793 {
794  assert(mesh() != nullptr);
795  return mesh()->vv_range(*this);
796 }
797 
800 {
801  assert(mesh() != nullptr);
802  return mesh()->vih_range(*this);
803 }
804 
807 {
808  assert(mesh() != nullptr);
809  return mesh()->voh_range(*this);
810 }
811 
814 {
815  assert(mesh() != nullptr);
816  return mesh()->hl_range(*this);
817 }
818 
819 
821 {
822  assert(mesh() != nullptr);
823  return mesh()->fv_range(*this);
824 }
825 
828 {
829  assert(mesh() != nullptr);
830  return mesh()->fh_range(*this);
831 }
832 
834 {
835  assert(mesh() != nullptr);
836  return mesh()->fe_range(*this);
837 }
838 
840 {
841  assert(mesh() != nullptr);
842  return mesh()->ff_range(*this);
843 }
844 
845 }//namespace OpenMesh
Iterators::GenericCirculatorT< VertexEdgeTraits, false > VertexEdgeCCWIter
ConstFaceVertexCWIter cfv_cwend(FaceHandle _fh) const
const face - vertex circulator cw
ConstVertexOHalfedgeRange voh_range(VertexHandle _vh) const
Handle for a edge entity.
Definition: Handles.hh:134
ConstFaceHalfedgeCWIter cfh_cwbegin(FaceHandle _fh) const
const face - halfedge circulator cw
Handle for a face entity.
Definition: Handles.hh:141
FaceEdgeCCWIter fe_ccwiter(FaceHandle _fh)
face - edge circulator ccw
ConstHalfedgeLoopCCWIter chl_ccwbegin(HalfedgeHandle _heh) const
const halfedge circulator ccw
FaceHalfedgeIter ConstFaceHalfedgeIter
ConstVertexEdgeRange ve_range(VertexHandle _vh) const
VertexVertexCCWIter vv_ccwbegin(VertexHandle _vh)
vertex - vertex circulator ccw
VertexFaceIter vf_begin(VertexHandle _vh)
vertex - face circulator
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstVertexIter, &PolyConnectivity::vertices_sbegin, &PolyConnectivity::vertices_end > > ConstVertexRangeSkipping
VertexIHalfedgeCWIter vih_cwend(VertexHandle _vh)
vertex - incoming halfedge circulator cw
VertexIter ConstVertexIter
Linear iterator.
ConstVertexVertexCCWIter cvv_ccwiter(VertexHandle _vh) const
const vertex circulator ccw
FaceFaceCCWIter ConstFaceFaceCCWIter
VertexIter vertices_end()
End iterator for vertices.
ConstVertexVertexIter cvv_begin(VertexHandle _vh) const
const vertex circulator
ConstFaceEdgeIter cfe_end(FaceHandle _fh) const
const face - edge circulator
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexEdgeIter, VertexHandle, EdgeHandle, &PolyConnectivity::cve_begin, &PolyConnectivity::cve_end > > ConstVertexEdgeRange
FaceHalfedgeCWIter ConstFaceHalfedgeCWIter
ConstFaceVertexIter cfv_begin(FaceHandle _fh) const
const face - vertex circulator
HalfedgeLoopIter hl_begin(HalfedgeHandle _heh)
halfedge circulator
FaceVertexCWIter fv_cwbegin(FaceHandle _fh)
face - vertex circulator cw
ConstVertexFaceCWIter cvf_cwiter(VertexHandle _vh) const
const vertex - face circulator cw
ConstVertexOHalfedgeCCWIter cvoh_ccwbegin(VertexHandle _vh) const
const vertex - outgoing halfedge circulator ccw
PolyConnectivity::ConstHalfedgeLoopRange loop() const
Returns a range of halfedges in the face of the halfedge (or along the boundary) (PolyConnectivity::h...
Base class for all smart range types.
Definition: SmartRange.hh:73
Iterators::GenericCirculatorT_DEPRECATED< FaceFaceTraits > FaceFaceIter
Iterators::GenericCirculatorT_DEPRECATED< VertexOppositeHalfedgeTraits > VertexIHalfedgeIter
HalfedgeLoopIter ConstHalfedgeLoopIter
ConstVertexVertexIter cvv_end(VertexHandle _vh) const
const vertex circulator
FaceEdgeCCWIter fe_ccwbegin(FaceHandle _fh)
face - edge circulator ccw
VertexEdgeIter ve_begin(VertexHandle _vh)
vertex - edge circulator
SmartHalfedgeHandle next_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
VertexVertexCWIter ConstVertexVertexCWIter
VertexOHalfedgeIter ConstVertexOHalfedgeIter
VertexOHalfedgeCWIter ConstVertexOHalfedgeCWIter
const PolyConnectivity * mesh() const
Get the underlying mesh of this handle.
Definition: SmartHandles.hh:69
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceEdgeIter, FaceHandle, EdgeHandle, &PolyConnectivity::cfe_begin, &PolyConnectivity::cfe_end > > ConstFaceEdgeRange
ConstFaceEdgeCCWIter cfe_ccwend(FaceHandle _fh) const
const face - edge circulator ccw
ConstVertexIHalfedgeCCWIter cvih_ccwend(VertexHandle _vh) const
const vertex - incoming halfedge circulator ccw
ConstFaceHalfedgeCCWIter cfh_ccwbegin(FaceHandle _fh) const
const face - halfedge circulator ccw
ConstFaceFaceCCWIter cff_ccwiter(FaceHandle _fh) const
const face - face circulator
HalfedgeLoopIter hl_end(HalfedgeHandle _heh)
face - face circulator
Iterators::GenericCirculatorT_DEPRECATED< FaceEdgeTraits > FaceEdgeIter
ConstVertexOHalfedgeCCWIter cvoh_ccwiter(VertexHandle _vh) const
const vertex - outgoing halfedge circulator ccw
PolyConnectivity::ConstVertexFaceRange faces() const
Returns a range of faces incident to the vertex (PolyConnectivity::vf_range())
SmartHalfedgeHandle prev_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
SmartHalfedgeHandle ccw_rotated_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
Handle for a halfedge entity.
Definition: Handles.hh:127
ConstFaceVertexCCWIter cfv_ccwiter(FaceHandle _fh) const
const face - vertex circulator ccw
ConstHalfedgeLoopCCWIter chl_ccwend(HalfedgeHandle _heh) const
const face - face circulator ccw
VertexFaceCWIter ConstVertexFaceCWIter
FaceEdgeIter fe_begin(FaceHandle _fh)
face - edge circulator
VertexEdgeIter ve_end(VertexHandle _vh)
vertex - edge circulator
Iterators::GenericCirculatorT< VertexFaceTraits, true > VertexFaceCWIter
VertexVertexIter vv_iter(VertexHandle _vh)
vertex - vertex circulator
FaceIter faces_begin()
Begin iterator for faces.
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceFaceIter, FaceHandle, FaceHandle, &PolyConnectivity::cff_begin, &PolyConnectivity::cff_end > > ConstFaceFaceRange
FaceVertexIter fv_end(FaceHandle _fh)
face - vertex circulator
PolyConnectivity::ConstFaceVertexRange vertices() const
Returns a range of vertices incident to the face (PolyConnectivity::fv_range())
ConstFaceVertexCWIter cfv_cwiter(FaceHandle _fh) const
const face - vertex circulator cw
ConstFaceHalfedgeCWIter cfh_cwend(FaceHandle _fh) const
const face - halfedge circulator cw
VertexIHalfedgeCCWIter ConstVertexIHalfedgeCCWIter
ConstVertexFaceRange vf_range(VertexHandle _vh) const
PolyConnectivity::ConstFaceFaceRange faces() const
Returns a range adjacent faces of the face (PolyConnectivity::ff_range())
FaceHalfedgeIter fh_iter(FaceHandle _fh)
face - halfedge circulator
Iterators::GenericCirculatorT< FaceHalfedgeTraits, true > HalfedgeLoopCCWIter
ConstFaceFaceCWIter cff_cwbegin(FaceHandle _fh) const
const face - face circulator cw
HalfedgeLoopCWIter ConstHalfedgeLoopCWIter
VertexVertexIter vv_end(VertexHandle _vh)
vertex - vertex circulator
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstHalfedgeIter, &PolyConnectivity::halfedges_begin, &PolyConnectivity::halfedges_end > > ConstHalfedgeRange
ConstVertexOHalfedgeIter cvoh_iter(VertexHandle _vh) const
const vertex - outgoing halfedge circulator
FaceHalfedgeCWIter fh_cwend(FaceHandle _fh)
face - halfedge circulator cw
ConstFaceHalfedgeIter cfh_begin(FaceHandle _fh) const
const face - halfedge circulator
VertexFaceIter vf_iter(VertexHandle _vh)
vertex - face circulator
VertexVertexCWIter vv_cwiter(VertexHandle _vh)
vertex - vertex circulator cw
ConstVertexRangeSkipping vertices() const
ConstFaceFaceCWIter cff_cwend(FaceHandle _fh) const
const face - face circulator
static SmartHalfedgeHandle s_halfedge_handle(SmartEdgeHandle _eh, unsigned int _i)
returns the face handle of the opposite halfedge
FaceIter faces_end()
End iterator for faces.
VertexIHalfedgeIter vih_iter(VertexHandle _vh)
vertex - incoming halfedge circulator
FaceEdgeCWIter fe_cwend(FaceHandle _fh)
face - edge circulator cw
ConstFaceHalfedgeCCWIter cfh_ccwend(FaceHandle _fh) const
const face - halfedge circulator ccw
VertexOHalfedgeCCWIter ConstVertexOHalfedgeCCWIter
ConstVertexOHalfedgeCCWIter cvoh_ccwend(VertexHandle _vh) const
const vertex - outgoing halfedge circulator ccw
VertexIHalfedgeCWIter vih_cwiter(VertexHandle _vh)
vertex - incoming halfedge circulator cw
ConstFaceEdgeCCWIter cfe_ccwbegin(FaceHandle _fh) const
const face - edge circulator ccw
VertexOHalfedgeCCWIter voh_ccwiter(VertexHandle _vh)
vertex - outgoing halfedge circulator ccw
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexVertexCWIter, VertexHandle, VertexHandle, &PolyConnectivity::cvv_cwbegin, &PolyConnectivity::cvv_cwend > > ConstVertexVertexRange
VertexOHalfedgeCCWIter voh_ccwbegin(VertexHandle _vh)
vertex - outgoing halfedge circulator ccw
Handle for a vertex entity.
Definition: Handles.hh:120
VertexOHalfedgeCWIter voh_cwiter(VertexHandle _vh)
vertex - outgoing halfedge circulator cw
ConstVertexVertexIter cvv_iter(VertexHandle _vh) const
const vertex circulator
VertexEdgeCCWIter ConstVertexEdgeCCWIter
ConstFaceEdgeIter cfe_begin(FaceHandle _fh) const
const face - edge circulator
ConstHalfedgeLoopRange hl_range(HalfedgeHandle _heh) const
VertexVertexCWIter vv_cwend(VertexHandle _vh)
vertex - vertex circulator cw
VertexEdgeCWIter ve_cwbegin(VertexHandle _vh)
vertex - edge circulator cw
SmartEdgeHandle edge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
FaceHalfedgeCCWIter fh_ccwiter(FaceHandle _fh)
face - halfedge circulator ccw
VertexOHalfedgeIter voh_end(VertexHandle _vh)
vertex - outgoing halfedge circulator
VertexIHalfedgeIter ConstVertexIHalfedgeIter
ConstFaceHalfedgeCCWIter cfh_ccwiter(FaceHandle _fh) const
const face - halfedge circulator ccw
VertexVertexCWIter vv_cwbegin(VertexHandle _vh)
vertex - vertex circulator cw
HalfedgeLoopCWIter hl_cwend(HalfedgeHandle _heh)
face - face circulator cw
Iterators::GenericCirculatorT_DEPRECATED< FaceVertexTraits > FaceVertexIter
Iterators::GenericCirculatorT< FaceFaceTraits, true > FaceFaceCCWIter
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstVertexIter, &PolyConnectivity::vertices_begin, &PolyConnectivity::vertices_end > > ConstVertexRange
ConstHalfedgeLoopCWIter chl_cwbegin(HalfedgeHandle _heh) const
const halfedge circulator cw
ConstFaceVertexCCWIter cfv_ccwbegin(FaceHandle _fh) const
const face - vertex circulator ccw
EdgeIter edges_end()
End iterator for edges.
VertexOHalfedgeCWIter voh_cwbegin(VertexHandle _vh)
vertex - outgoing halfedge circulator cw
FaceFaceIter ff_begin(FaceHandle _fh)
face - face circulator
FaceFaceCCWIter ff_ccwiter(FaceHandle _fh)
face - face circulator ccw
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.
ConstFaceVertexIter cfv_end(FaceHandle _fh) const
const face - vertex circulator
ConstVertexVertexCWIter cvv_cwbegin(VertexHandle _vh) const
const vertex circulator cw
static SmartEdgeHandle s_edge_handle(SmartHalfedgeHandle _heh)
returns the face handle of the opposite halfedge
Iterators::GenericIteratorT< This, This::FaceHandle, ArrayKernel, &ArrayKernel::has_face_status, &ArrayKernel::n_faces > FaceIter
Linear iterator.
ConstFaceFaceCWIter cff_cwiter(FaceHandle _fh) const
const face - face circulator cw
SmartHalfedgeHandle opposite_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
FaceIter faces_sbegin()
Begin iterator for faces.
VertexEdgeCCWIter ve_ccwend(VertexHandle _vh)
vertex - edge circulator ccw
ConstFaceEdgeCWIter cfe_cwbegin(FaceHandle _fh) const
const face - edge circulator cw
VertexIHalfedgeCCWIter vih_ccwiter(VertexHandle _vh)
vertex - incoming halfedge circulator ccw
HalfedgeIter halfedges_sbegin()
Begin iterator for halfedges.
ConstVertexVertexCWIter cvv_cwend(VertexHandle _vh) const
const vertex circulator cw
Iterators::GenericCirculatorT< FaceHalfedgeTraits, false > HalfedgeLoopCWIter
ConstFaceHalfedgeIter cfh_iter(FaceHandle _fh) const
const face - halfedge circulator
ConstFaceEdgeCCWIter cfe_ccwiter(FaceHandle _fh) const
const face - edge circulator ccw
Iterators::GenericCirculatorT< VertexEdgeTraits, true > VertexEdgeCWIter
ConstVertexFaceIter cvf_begin(VertexHandle _vh) const
const vertex - face circulator
ConstVertexOHalfedgeCWIter cvoh_cwiter(VertexHandle _vh) const
const vertex - outgoing halfedge circulator cw
ConstVertexEdgeCCWIter cve_ccwiter(VertexHandle _vh) const
const vertex - edge circulator ccw
ConstVertexEdgeIter cve_iter(VertexHandle _vh) const
const vertex - edge circulator
SmartVertexHandle make_smart(VertexHandle _vh, const PolyConnectivity *_mesh)
Creats a SmartVertexHandle from a VertexHandle and a Mesh.
Iterators::GenericCirculatorT_DEPRECATED< FaceHalfedgeTraits > HalfedgeLoopIter
ConstEdgeRangeSkipping edges() const
PolyConnectivity::ConstVertexVertexRange vertices() const
Returns a range of vertices adjacent to the vertex (PolyConnectivity::vv_range()) ...
ConstFaceFaceIter cff_iter(FaceHandle _fh) const
const face - face circulator
VertexVertexIter ConstVertexVertexIter
VertexIHalfedgeIter vih_end(VertexHandle _vh)
vertex - incoming halfedge circulator
FaceEdgeCWIter fe_cwbegin(FaceHandle _fh)
face - edge circulator cw
SmartFaceHandle opposite_face_handle(HalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstFaceIter, &PolyConnectivity::faces_sbegin, &PolyConnectivity::faces_end > > ConstFaceRangeSkipping
Iterators::GenericCirculatorT< VertexHalfedgeTraits, false > VertexOHalfedgeCCWIter
ConstVertexIHalfedgeRange vih_range(VertexHandle _vh) const
ConstVertexEdgeCWIter cve_cwend(VertexHandle _vh) const
const vertex - edge circulator cw
VertexIHalfedgeCCWIter vih_ccwbegin(VertexHandle _vh)
vertex - incoming halfedge circulator ccw
VertexEdgeCCWIter ve_ccwbegin(VertexHandle _vh)
vertex - edge circulator ccw
ConstVertexEdgeCWIter cve_cwbegin(VertexHandle _vh) const
const vertex - edge circulator cw
Iterators::GenericCirculatorT_DEPRECATED< VertexVertexTraits > VertexVertexIter
ConstVertexOHalfedgeCWIter cvoh_cwbegin(VertexHandle _vh) const
const vertex - outgoing halfedge circulator cw
FaceFaceCWIter ff_cwend(FaceHandle _fh)
face - face circulator cw
ConstVertexFaceIter cvf_iter(VertexHandle _vh) const
const vertex - face circulator
ConstVertexIHalfedgeCWIter cvih_cwiter(VertexHandle _vh) const
const vertex - incoming halfedge circulator cw
ConstVertexFaceCCWIter cvf_ccwend(VertexHandle _vh) const
const vertex - face circulator ccw
ConstVertexOHalfedgeCWIter cvoh_cwend(VertexHandle _vh) const
const vertex - outgoing halfedge circulator cw
VertexOHalfedgeCCWIter voh_ccwend(VertexHandle _vh)
vertex - outgoing halfedge circulator ccw
ConstVertexFaceCCWIter cvf_ccwiter(VertexHandle _vh) const
const vertex - face circulator ccw
FaceVertexCWIter fv_cwend(FaceHandle _fh)
face - vertex circulator cw
Generic class for iterator ranges.
ConstVertexEdgeIter cve_end(VertexHandle _vh) const
const vertex - edge circulator
VertexVertexCCWIter vv_ccwend(VertexHandle _vh)
vertex - vertex circulator ccw
ConstFaceRangeSkipping faces() const
ConstVertexIHalfedgeCCWIter cvih_ccwiter(VertexHandle _vh) const
const vertex - incoming halfedge circulator ccw
ConstFaceEdgeCWIter cfe_cwiter(FaceHandle _fh) const
const face - edge circulator cw
ConstFaceHalfedgeIter cfh_end(FaceHandle _fh) const
const face - halfedge circulator
FaceVertexIter fv_begin(FaceHandle _fh)
face - vertex circulator
ConstHalfedgeLoopIter chl_end(HalfedgeHandle _heh) const
const face - face circulator
VertexFaceCWIter vf_cwend(VertexHandle _vh)
vertex - face circulator cw
ConstVertexVertexCWIter cvv_cwiter(VertexHandle _vh) const
const vertex circulator cw
VertexOHalfedgeIter voh_iter(VertexHandle _vh)
vertex - outgoing halfedge circulator
FaceFaceCCWIter ff_ccwend(FaceHandle _fh)
face - face circulator ccw
HalfedgeIter halfedges_begin()
Begin iterator for halfedges.
ConstVertexEdgeCWIter cve_cwiter(VertexHandle _vh) const
const vertex - edge circulator cw
PolyConnectivity::ConstVertexOHalfedgeRange outgoing_halfedges() const
Returns a range of incoming halfedges incident to the vertex (PolyConnectivity::vih_range()) ...
ConstVertexOHalfedgeIter cvoh_begin(VertexHandle _vh) const
const vertex - outgoing halfedge circulator
Iterators::GenericCirculatorT_DEPRECATED< VertexFaceTraits > VertexFaceIter
Iterators::GenericIteratorT< This, This::HalfedgeHandle, ArrayKernel, &ArrayKernel::has_halfedge_status, &ArrayKernel::n_halfedges > HalfedgeIter
Linear iterator.
VertexIHalfedgeCCWIter vih_ccwend(VertexHandle _vh)
vertex - incoming halfedge circulator ccw
Iterators::GenericCirculatorT< FaceVertexTraits, false > FaceVertexCWIter
ConstVertexFaceCWIter cvf_cwbegin(VertexHandle _vh) const
const vertex - face circulator cw
FaceHalfedgeIter fh_end(FaceHandle _fh)
face - halfedge circulator
PolyConnectivity::ConstVertexEdgeRange edges() const
Returns a range of edges incident to the vertex (PolyConnectivity::ve_range())
Iterators::GenericCirculatorT< FaceEdgeTraits, true > FaceEdgeCCWIter
ConstFaceHalfedgeCWIter cfh_cwiter(FaceHandle _fh) const
const face - halfedge circulator cw
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstHalfedgeLoopIter, HalfedgeHandle, HalfedgeHandle, &PolyConnectivity::chl_begin, &PolyConnectivity::chl_end > > ConstHalfedgeLoopRange
VertexHandle new_vertex()
Add a new vertex.
Definition: ArrayKernel.hh:216
SmartFaceHandle face_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexIHalfedgeIter, VertexHandle, HalfedgeHandle, &PolyConnectivity::cvih_begin, &PolyConnectivity::cvih_end > > ConstVertexIHalfedgeRange
Iterators::GenericCirculatorT_DEPRECATED< FaceHalfedgeTraits > FaceHalfedgeIter
Iterators::GenericCirculatorT< VertexOppositeHalfedgeTraits, true > VertexIHalfedgeCWIter
Iterators::GenericCirculatorT< FaceHalfedgeTraits, false > FaceHalfedgeCWIter
FaceEdgeCWIter fe_cwiter(FaceHandle _fh)
face - edge circulator cw
ConstFaceEdgeCWIter cfe_cwend(FaceHandle _fh) const
const face - edge circulator cw
FaceIter ConstFaceIter
Linear iterator.
ConstVertexVertexRange vv_range(VertexHandle _vh) const
Generic class for vertex/halfedge/edge/face ranges.
HalfedgeIter ConstHalfedgeIter
Linear iterator.
FaceHalfedgeCCWIter fh_ccwend(FaceHandle _fh)
face - halfedge circulator ccw
ConstVertexVertexCCWIter cvv_ccwbegin(VertexHandle _vh) const
const vertex circulator ccw
ConstVertexEdgeIter cve_begin(VertexHandle _vh) const
const vertex - edge circulator
FaceEdgeCCWIter fe_ccwend(FaceHandle _fh)
face - edge circulator ccw
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstEdgeIter, &PolyConnectivity::edges_begin, &PolyConnectivity::edges_end > > ConstEdgeRange
VertexFaceCWIter vf_cwiter(VertexHandle _vh)
vertex - face circulator cw
FaceFaceCWIter ff_cwbegin(FaceHandle _fh)
face - face circulator cw
FaceHalfedgeIter fh_begin(FaceHandle _fh)
face - halfedge circulator
Iterators::GenericCirculatorT< FaceHalfedgeTraits, true > FaceHalfedgeCCWIter
ConstFaceFaceCCWIter cff_ccwend(FaceHandle _fh) const
const face - face circulator
VertexIter vertices_begin()
Begin iterator for vertices.
VertexIHalfedgeIter vih_begin(VertexHandle _vh)
vertex - incoming halfedge circulator
ConstFaceVertexCCWIter cfv_ccwend(FaceHandle _fh) const
const face - vertex circulator ccw
VertexIHalfedgeCWIter ConstVertexIHalfedgeCWIter
VertexFaceCWIter vf_cwbegin(VertexHandle _vh)
vertex - face circulator cw
VertexFaceIter vf_end(VertexHandle _vh)
vertex - face circulator
PolyConnectivity::ConstVertexIHalfedgeRange incoming_halfedges() const
Returns a range of outgoing halfedges incident to the vertex (PolyConnectivity::voh_range()) ...
VertexEdgeCCWIter ve_ccwiter(VertexHandle _vh)
vertex - edge circulator ccw
VertexVertexCCWIter ConstVertexVertexCCWIter
ConstFaceVertexCWIter cfv_cwbegin(FaceHandle _fh) const
const face - vertex circulator cw
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
VertexVertexIter vv_begin(VertexHandle _vh)
vertex - vertex circulator
FaceEdgeIter fe_end(FaceHandle _fh)
face - edge circulator
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
ConstFaceFaceCCWIter cff_ccwbegin(FaceHandle _fh) const
const face - face circulator ccw
VertexFaceCCWIter vf_ccwiter(VertexHandle _vh)
vertex - face circulator ccw
PolyConnectivity::ConstFaceEdgeRange edges() const
Returns a range of edges of the face (PolyConnectivity::fv_range())
SmartVertexHandle add_vertex()
Add a new vertex.
Iterators::GenericCirculatorT< FaceEdgeTraits, false > FaceEdgeCWIter
ConstFaceFaceIter cff_begin(FaceHandle _fh) const
const face - face circulator
VertexIter vertices_sbegin()
Begin iterator for vertices.
VertexOHalfedgeIter voh_begin(VertexHandle _vh)
vertex - outgoing halfedge circulator
HalfedgeIter halfedges_end()
End iterator for halfedges.
FaceHalfedgeCWIter fh_cwiter(FaceHandle _fh)
face - halfedge circulator cw
FaceVertexCWIter fv_cwiter(FaceHandle _fh)
face - vertex circulator cw
ConstVertexFaceCWIter cvf_cwend(VertexHandle _vh) const
const vertex - face circulator cw
ConstVertexEdgeCCWIter cve_ccwbegin(VertexHandle _vh) const
const vertex - edge circulator ccw
FaceFaceCCWIter ff_ccwbegin(FaceHandle _fh)
face - face circulator ccw
PolyConnectivity::ConstFaceHalfedgeRange halfedges() const
Returns a range of halfedges of the face (PolyConnectivity::fh_range())
VertexEdgeCWIter ve_cwiter(VertexHandle _vh)
vertex - edge circulator cw
ConstFaceEdgeRange fe_range(FaceHandle _fh) const
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstHalfedgeIter, &PolyConnectivity::halfedges_sbegin, &PolyConnectivity::halfedges_end > > ConstHalfedgeRangeSkipping
VertexOHalfedgeCWIter voh_cwend(VertexHandle _vh)
vertex - outgoing halfedge circulator cw
FaceEdgeCCWIter ConstFaceEdgeCCWIter
Iterators::GenericCirculatorT_DEPRECATED< VertexEdgeTraits > VertexEdgeIter
FaceHalfedgeCCWIter fh_ccwbegin(FaceHandle _fh)
face - halfedge circulator ccw
ConstVertexFaceIter cvf_end(VertexHandle _vh) const
const vertex - face circulator
ConstVertexIHalfedgeIter cvih_end(VertexHandle _vh) const
const vertex - incoming halfedge circulator
VertexFaceCCWIter vf_ccwend(VertexHandle _vh)
vertex - face circulator ccw
VertexVertexCCWIter vv_ccwiter(VertexHandle _vh)
vertex - vertex circulator ccw
VertexFaceCCWIter vf_ccwbegin(VertexHandle _vh)
vertex - face circulator ccw
VertexEdgeCWIter ve_cwend(VertexHandle _vh)
vertex - edge circulator cw
FaceVertexCCWIter ConstFaceVertexCCWIter
VertexFaceCCWIter ConstVertexFaceCCWIter
ConstFaceFaceRange ff_range(FaceHandle _fh) const
Iterators::GenericCirculatorT< FaceFaceTraits, false > FaceFaceCWIter
HalfedgeLoopCCWIter hl_ccwend(HalfedgeHandle _heh)
face - face circulator ccw
VertexIHalfedgeCWIter vih_cwbegin(VertexHandle _vh)
vertex - incoming halfedge circulator cw
ConstFaceEdgeIter cfe_iter(FaceHandle _fh) const
const face - edge circulator
EntityRange< RangeTraitT< const PolyConnectivity, PolyConnectivity::ConstEdgeIter, &PolyConnectivity::edges_sbegin, &PolyConnectivity::edges_end > > ConstEdgeRangeSkipping
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstVertexOHalfedgeIter, VertexHandle, HalfedgeHandle, &PolyConnectivity::cvoh_begin, &PolyConnectivity::cvoh_end > > ConstVertexOHalfedgeRange
EdgeIter edges_sbegin()
Begin iterator for edges.
FaceVertexCCWIter fv_ccwend(FaceHandle _fh)
face - vertex circulator ccw
ConstVertexIHalfedgeIter cvih_iter(VertexHandle _vh) const
const vertex - incoming halfedge circulator
Iterators::GenericCirculatorT< VertexOppositeHalfedgeTraits, false > VertexIHalfedgeCCWIter
Iterators::GenericCirculatorT_DEPRECATED< VertexHalfedgeTraits > VertexOHalfedgeIter
ConstFaceVertexIter cfv_iter(FaceHandle _fh) const
const face - vertex circulator
EdgeIter edges_begin()
Begin iterator for edges.
SmartHalfedgeHandle cw_rotated_halfedge_handle(SmartHalfedgeHandle _heh) const
returns the face handle of the opposite halfedge
Iterators::GenericIteratorT< This, This::VertexHandle, ArrayKernel, &ArrayKernel::has_vertex_status, &ArrayKernel::n_vertices > VertexIter
Linear iterator.
ConstHalfedgeRangeSkipping halfedges() const
VertexEdgeIter ve_iter(VertexHandle _vh)
vertex - edge circulator
ConstFaceHalfedgeRange fh_range(FaceHandle _fh) const
ConstFaceFaceIter cff_end(FaceHandle _fh) const
const face - face circulator
HalfedgeLoopCCWIter hl_ccwbegin(HalfedgeHandle _heh)
halfedge circulator ccw
ConstVertexVertexCCWIter cvv_ccwend(VertexHandle _vh) const
const vertex circulator ccw
HalfedgeLoopCWIter hl_cwbegin(HalfedgeHandle _heh)
halfedge circulator
ConstVertexOHalfedgeIter cvoh_end(VertexHandle _vh) const
const vertex - outgoing halfedge circulator
ConstVertexIHalfedgeCWIter cvih_cwbegin(VertexHandle _vh) const
const vertex - incoming halfedge circulator cw
ConstFaceVertexRange fv_range(FaceHandle _fh) const
FaceFaceIter ff_end(FaceHandle _fh)
face - face circulator
ConstVertexEdgeCCWIter cve_ccwend(VertexHandle _vh) const
const vertex - edge circulator ccw
FaceEdgeIter fe_iter(FaceHandle _fh)
face - edge circulator
ConstHalfedgeLoopCWIter chl_cwend(HalfedgeHandle _heh) const
const face - face circulator cw
ConstVertexFaceCCWIter cvf_ccwbegin(VertexHandle _vh) const
const vertex - face circulator ccw
ConstHalfedgeRange all_halfedges() const
FaceHalfedgeCCWIter ConstFaceHalfedgeCCWIter
FaceVertexCCWIter fv_ccwiter(FaceHandle _fh)
face - vertex circulator ccw
ConstVertexIHalfedgeCWIter cvih_cwend(VertexHandle _vh) const
const vertex - incoming halfedge circulator cw
FaceFaceCWIter ff_cwiter(FaceHandle _fh)
face - face circulator cw
SmartHalfedgeHandle halfedge_handle(SmartEdgeHandle _eh, unsigned int _i) const
returns the face handle of the opposite halfedge
CirculatorRange< CirculatorRangeTraitT< PolyConnectivity, ConstFaceHalfedgeIter, FaceHandle, HalfedgeHandle, &PolyConnectivity::cfh_begin, &PolyConnectivity::cfh_end > > ConstFaceHalfedgeRange
Iterators::GenericCirculatorT< VertexVertexTraits, true > VertexVertexCWIter
Iterators::GenericCirculatorT< VertexVertexTraits, false > VertexVertexCCWIter
FaceVertexIter fv_iter(FaceHandle _fh)
face - vertex circulator
ConstVertexIHalfedgeCCWIter cvih_ccwbegin(VertexHandle _vh) const
const vertex - incoming halfedge circulator ccw
FaceVertexCCWIter fv_ccwbegin(FaceHandle _fh)
face - vertex circulator ccw
FaceHalfedgeCWIter fh_cwbegin(FaceHandle _fh)
face - halfedge circulator cw
VertexEdgeCWIter ConstVertexEdgeCWIter
FaceFaceIter ff_iter(FaceHandle _fh)
face - face circulator
ConstVertexIHalfedgeIter cvih_begin(VertexHandle _vh) const
const vertex - incoming halfedge circulator