Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - 3D - Half Edge Mesh - HEMeshFaceBodyC
 

  PUBLIC
HEMeshFaceBodyC::HEMeshFaceBodyC(void)
HEMeshFaceBodyC::~HEMeshFaceBodyC(void)
HEMeshFaceBodyC::HEMeshFaceBodyC(HEMeshEdgeBodyC &)
HEMeshFaceBodyC::FirstEdge(void)
HEMeshFaceBodyC::DestroyFace(void)
HEMeshFaceBodyC::SetEdge(HEMeshEdgeBodyC *)
HEMeshFaceBodyC::Sides(void) const
HEMeshFaceBodyC::HasVertex(HEMeshVertexC) const
HEMeshFaceBodyC::Edge(void)
HEMeshFaceBodyC::FindEdge(HEMeshVertexC)
HEMeshFaceBodyC::operator ==(const HEMeshFaceBodyC &) const
HEMeshFaceBodyC::operator !=(const HEMeshFaceBodyC &) const
DLinkC::SetSelfPointing(void)
DLinkC::IsSelfPointing(void) const
DLinkC::Next(void) const
DLinkC::Prev(void) const
DLinkC::Next(void)
DLinkC::Prev(void)
DLinkC::Reverse(void)
DLinkC::LinkBef(DLinkC &)
DLinkC::LinkAft(DLinkC &)
DLinkC::Unlink(void)
DLinkC::CutPaste(DLinkC &,DLinkC &)

   HEMeshFaceBodyC   
 
Face in mesh.
 
include "Ravl/3D/HEMeshFace.hh"
Created:24/4/2002 
Source file:Ravl/3D/Mesh/HEMeshFace.hh
User Level:Develop.
Library:Ravl3D
In Scope:Ravl3DN

Parent Classes: Variables:
HEMeshEdgeBodyC * edge;
Ptr to one of the edges adjacent to the face.

Methods:
HEMeshFaceBodyC()
Default constructor.

~HEMeshFaceBodyC()
Destructor.

HEMeshFaceBodyC(HEMeshEdgeBodyC & nedge)
Default constructor.

HEMeshEdgeBodyC * FirstEdge()
Access first edge.

void DestroyFace()
Destroy the face without worrying about mesh consistancy.

void SetEdge(HEMeshEdgeBodyC * nedge)
Set first edge.

UIntT Sides() const
Get number of sides on face.

bool HasVertex(HEMeshVertexC vert) const
Check that the vertex is connected to this face.

HEMeshEdgeC Edge()
Get an edge leading to the face.

HEMeshEdgeC FindEdge(HEMeshVertexC a)
Find the edge linking to vertex a.
If edge is not found an invalid handle is returned.

bool operator ==(const HEMeshFaceBodyC & bod) const
Is this the same body ?

bool operator !=(const HEMeshFaceBodyC & bod) const
Is this the same body ?

#include "Ravl/DLink.hh"
void SetSelfPointing()
Set both links to point to this object.

bool IsSelfPointing() const
Returns TRUE if the next element is this element.

const DLinkC & Next() const
Returns the next element in a constant list.

const DLinkC & Prev() const
Returns the previous element in a constant list.

DLinkC & Next()
Returns the next element in a list.

DLinkC & Prev()
Returns the previous element in a list.

void Reverse()
Swap links.
Swaps the links in all chain elements exchanging meaning of "successor" and "predecessor".

DLinkC & LinkBef(DLinkC & elm)
Links 'elm' before the element.
The links of 'elm' need not to be proper links.

DLinkC & LinkAft(DLinkC & elm)
Links 'elm' after this element.
The links of 'elm' need not to be proper links.

DLinkC & Unlink()
Unlinks the list element from the list.
The predecessor and the successor of this element will be linked to each other. However, the links of this element stay unchanged. Returns this list element.

void CutPaste(DLinkC & firstCut,DLinkC & firstNotCut)
Splice list elements between firstCut, and firstNotCut into this list.
Cuts the chain of double links elements starting at 'firstCut' and ending at the element previous of 'firstNotCut' from a chain. The rest of the chain is linked together again. The cut part is linked in after this element.


Maintainer:Charles Galambos, Created: 24/4/2002, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002