Subversion Repositories gelsvn

Rev

Rev 572 | Rev 587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 572 Rev 578
Line 2... Line 2...
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
3
 * Copyright (C) the authors and DTU Informatics
3
 * Copyright (C) the authors and DTU Informatics
4
 * For license and list of authors, see ../../doc/intro.pdf
4
 * For license and list of authors, see ../../doc/intro.pdf
5
 * ----------------------------------------------------------------------- */
5
 * ----------------------------------------------------------------------- */
6
 
6
 
-
 
7
/**
-
 
8
@file HalfEdgeWalker.h
-
 
9
 Contains class for walking a mesh.
-
 
10
 */
7
 
11
 
8
#ifndef __HMESH_HALFEDGEWALKER_H__
12
#ifndef __HMESH_HALFEDGEWALKER_H__
9
#define __HMESH_HALFEDGEWALKER_H__
13
#define __HMESH_HALFEDGEWALKER_H__
10
 
14
 
11
#include "ConnectivityKernel.h"
15
#include "ConnectivityKernel.h"
12
 
16
 
13
namespace HMesh
17
namespace HMesh
14
{
18
{
-
 
19
    /** Class for traversing the entities of a HMesh. This class can work as 
-
 
20
     both a vertex and a face circulator but also move in other ways. It is,
-
 
21
     in fact, the only way to traverse the mesh from the users point of view. */
15
    class HalfEdgeWalker
22
    class HalfEdgeWalker
16
    {
23
    {
17
    public:
24
    public:
18
        /// construct from kernel and a halfedge
25
        /// construct from kernel and a halfedge
19
        HalfEdgeWalker(const ConnectivityKernel& _ck, HalfEdgeID _current);
26
        HalfEdgeWalker(const ConnectivityKernel& _ck, HalfEdgeID _current);