Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Arak::CN94Proposal::MoveVertexAlongBdEdge Class Reference

#include <cn94.hpp>

Inheritance diagram for Arak::CN94Proposal::MoveVertexAlongBdEdge:

Inheritance graph
[legend]
Collaboration diagram for Arak::CN94Proposal::MoveVertexAlongBdEdge:

Collaboration graph
[legend]
List of all members.

Detailed Description

Moves a boundary vertex along its current boundary face.

Definition at line 299 of file cn94.hpp.

Public Member Functions

 MoveVertexAlongBdEdge ()
void reset (Coloring::VertexHandle vertex, const Point &point)
 Resets this move.

virtual void execute (Coloring &c)
 Updates the supplied coloring according to this move.

virtual void undo (Coloring &c)
 Updates the supplied Coloring so that the effects of performing this move are undone.


Protected Attributes

Coloring::VertexHandle vertex
 The boundary vertex to move.

Point oldLoc
 The current location of the vertex to be moved.

Point newLoc
 The new location of the vertex to be moved.


Friends

class CN94Proposal


Constructor & Destructor Documentation

Arak::CN94Proposal::MoveVertexAlongBdEdge::MoveVertexAlongBdEdge  )  [inline]
 

Definition at line 322 of file cn94.hpp.


Member Function Documentation

void CN94Proposal::MoveVertexAlongBdEdge::execute Coloring c  )  [virtual]
 

Updates the supplied coloring according to this move.

It is an error to call this method if the move is not valid for the supplied coloring.

Parameters:
c a coloring to be updated

Implements Arak::ColoringMove.

Definition at line 196 of file cn94.cpp.

References Arak::Coloring::moveVertexAlongBd().

void CN94Proposal::MoveVertexAlongBdEdge::reset Coloring::VertexHandle  vertex,
const Point point
 

Resets this move.

Parameters:
vertex the boundary vertex to move
point the new location

Definition at line 190 of file cn94.cpp.

References Arak::Geometry::Point, and Arak::Coloring::VertexHandle.

Referenced by Arak::CN94Proposal::sampleMoveVertexAlongBd().

void CN94Proposal::MoveVertexAlongBdEdge::undo Coloring c  )  [virtual]
 

Updates the supplied Coloring so that the effects of performing this move are undone.

The semantics of this method ensure that applying execute(Coloring&) and then undo(Coloring&) to the same coloring leaves the coloring invariant. It is an error to call this method if this undo is not valid for the supplied coloring.

Parameters:
c a coloring to be updated

Implements Arak::ColoringMove.

Definition at line 200 of file cn94.cpp.

References Arak::Coloring::moveVertexAlongBd().


Friends And Related Function Documentation

friend class CN94Proposal [friend]
 

Definition at line 301 of file cn94.hpp.


Member Data Documentation

Point Arak::CN94Proposal::MoveVertexAlongBdEdge::newLoc [protected]
 

The new location of the vertex to be moved.

Definition at line 318 of file cn94.hpp.

Point Arak::CN94Proposal::MoveVertexAlongBdEdge::oldLoc [protected]
 

The current location of the vertex to be moved.

Definition at line 313 of file cn94.hpp.

Coloring::VertexHandle Arak::CN94Proposal::MoveVertexAlongBdEdge::vertex [protected]
 

The boundary vertex to move.

Definition at line 308 of file cn94.hpp.

Referenced by Arak::CN94Proposal::ll(), and Arak::CN94Proposal::rll().


The documentation for this class was generated from the following files:
Generated on Wed May 25 14:40:40 2005 for Arak by doxygen 1.3.6