#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::MoveBdVertexPastCorner:
Definition at line 348 of file cn94.hpp.
Public Member Functions | |
MoveBdVertexPastCorner () | |
void | reset (Coloring::BdEdgeHandle edge, const Point &point) |
Resets this move with the supplied parameters. | |
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::BdEdgeHandle | edge |
An edge that joins a corner vertex to a boundary vertex. | |
Point | oldLoc |
The old location of the boundary vertex incident to edge. | |
Point | newLoc |
The new location for the boundary vertex incident to edge. | |
Friends | |
class | CN94Proposal |
|
|
|
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.
Implements Arak::ColoringMove. Definition at line 122 of file cn94.cpp. References edge, and Arak::Coloring::moveBdVertexPastCorner(). |
|
Resets this move with the supplied parameters.
Definition at line 114 of file cn94.cpp. References Arak::Coloring::BdEdgeHandle, and Arak::Geometry::Point. Referenced by Arak::CN94Proposal::sampleMoveBdVertexPastCorner(). |
|
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.
Implements Arak::ColoringMove. Definition at line 126 of file cn94.cpp. References edge, Arak::Coloring::moveBdVertexPastCorner(), and PointerHandle< T >::valid(). |
|
|
|
An edge that joins a corner vertex to a boundary vertex.
Definition at line 357 of file cn94.hpp. Referenced by execute(), Arak::CN94Proposal::ll(), Arak::CN94Proposal::rll(), and undo(). |
|
The new location for the boundary vertex incident to edge. This point lies on the other boundary edge incident to the corner. |
|
The old location of the boundary vertex incident to edge. This information is used to undo the move. |