#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::BoundaryTriangleBirth:
Definition at line 511 of file cn94.hpp.
Public Member Functions | |
BoundaryTriangleBirth () | |
void | reset (Coloring::BdEdgeHandle e, const Point &u, const Point &v, const Point &w) |
Resets this move with the new values. | |
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 |
The window edge along which the triangle is created. | |
Point | u |
The boundary vertices of the boundary triangle; these vertices lie along edge. | |
Point | v |
The boundary vertices of the boundary triangle; these vertices lie along edge. | |
Point | w |
The interior vertex of the boundary triangle. | |
Coloring::VertexHandle | vh |
A handle on the root vertex of the triangle created by the move. | |
Friends | |
class | CN94Proposal |
class | ModifiedCN94Proposal |
|
|
|
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 217 of file cn94.cpp. References Arak::Coloring::BdEdgeHandle, Arak::Coloring::newBoundaryTriangle(), and PointerHandle< T >::valid(). |
|
Resets this move with the new values.
Definition at line 206 of file cn94.cpp. References Arak::Coloring::BdEdgeHandle, Arak::Geometry::Point, and Arak::Coloring::VertexHandle. Referenced by Arak::CN94Proposal::sampleBoundaryTriangleBirth(). |
|
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 225 of file cn94.cpp. References Arak::Coloring::deleteBdTriangle(), and PointerHandle< T >::valid(). |
|
|
|
|
|
The window edge along which the triangle is created. This is set to NULL when the move is executed, and it is restored if the move is undone. Definition at line 524 of file cn94.hpp. Referenced by Arak::CN94Proposal::ll(). |
|
The boundary vertices of the boundary triangle; these vertices lie along edge.
Definition at line 530 of file cn94.hpp. Referenced by Arak::CN94Proposal::ll(). |
|
The boundary vertices of the boundary triangle; these vertices lie along edge.
Definition at line 530 of file cn94.hpp. Referenced by Arak::CN94Proposal::ll(). |
|
A handle on the root vertex of the triangle created by the move. This is invalid unless the move has been executed; it is invalidated if the move is undone. |
|
The interior vertex of the boundary triangle.
|