#include <DelaunayTestLogic.h>
Public Member Functions | |
| DelaunayTestLogic (void) | |
| Constructor. | |
| ~DelaunayTestLogic (void) | |
| Destructor. | |
| void | Triangulate (void) |
| Triangulates the sites. | |
| void | Reset (void) |
| Resets both sites and triangulation. | |
| void | AddSites (void) |
| Adds fixed number of sites if its not yet triangulated. | |
| void | RemoveSites (void) |
| Removes fixed number of sites if its not yet triangulated. | |
| void | EnableCircles (void) |
| Enables/disables showing of circles. | |
| const std::vector< Point > & | GetPoints (void) const |
| Gets the sites of the triangulation. | |
| const std::vector< Line > & | GetLines (void) const |
| Gets the edges of the triangulation. | |
| const std::vector< Circle > & | GetCircles (void) const |
| Gets the circles that check correctness of delaunay triangulation. | |
| bool | IsCirclesEnabled (void) |
| Check if show circles is enabled. | |
| bool | IsTriangulated (void) |
| Check if it is triangulated. | |
| void DelaunayTestLogic::EnableCircles | ( | void | ) |
Enables/disables showing of circles.
| const std::vector< Line > & DelaunayTestLogic::GetLines | ( | void | ) | const |
Gets the edges of the triangulation.
| const std::vector< Point > & DelaunayTestLogic::GetPoints | ( | void | ) | const |
Gets the sites of the triangulation.
| bool DelaunayTestLogic::IsCirclesEnabled | ( | void | ) |
Check if show circles is enabled.
| bool DelaunayTestLogic::IsTriangulated | ( | void | ) |
Check if it is triangulated.
| void DelaunayTestLogic::Reset | ( | void | ) |
Resets both sites and triangulation.
Clear all the geometry
Randomize the points
1.5.9