#include <cn94.hpp>
Inheritance diagram for Arak::CN94Proposal::CornerCutBirth:
Definition at line 644 of file cn94.hpp.
Public Member Functions | |
CornerCutBirth () | |
void | reset (Coloring::VertexHandle corner, const Point &u, const Point &v) |
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::VertexHandle | corner |
The corner that will form a vertex of the recolored triangle. | |
Point | u |
The point on the previous boundary edge incident to corner that will be another vertex of the triangle. | |
Point | v |
The point on the next boundary edge incident to corner that will be another vertex of the triangle. | |
Coloring::VertexHandle | vh |
A handle to the root vertex of the triangle created by the move. | |
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 283 of file cn94.cpp. References corner, Arak::Coloring::newCornerTriangle(), and PointerHandle< T >::valid(). |
|
Resets this move with the new values.
Definition at line 269 of file cn94.cpp. References Arak::Geometry::Point, and Arak::Coloring::VertexHandle. Referenced by Arak::CN94Proposal::sampleCornerCutBirth(). |
|
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 289 of file cn94.cpp. References Arak::Coloring::deleteCornerTriangle(), and PointerHandle< T >::valid(). |
|
|
|
The corner that will form a vertex of the recolored triangle.
Definition at line 653 of file cn94.hpp. Referenced by execute(), Arak::CN94Proposal::ll(), and Arak::CN94Proposal::rll(). |
|
The point on the previous boundary edge incident to corner that will be another vertex of the triangle.
|
|
The point on the next boundary edge incident to corner that will be another vertex of the triangle.
|
|
A handle to 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. |