MyGAL
|
Data structure representing a partitioning of the space. More...
#include <Diagram.h>
Classes | |
struct | Face |
Structure representing a cell in the diagram. More... | |
struct | HalfEdge |
Half-edge of a face. More... | |
struct | Site |
Point associated with a face of the partitioning. More... | |
struct | Vertex |
Vertex of a face. More... | |
Public Member Functions | |
Diagram (const Diagram &)=delete | |
Diagram & | operator= (const Diagram &)=delete |
Diagram (Diagram &&)=default | |
Default move constructor. More... | |
Diagram & | operator= (Diagram &&)=default |
Default move assignment operator. More... | |
const std::vector< Site > & | getSites () const |
Get sites. More... | |
const Site * | getSite (std::size_t i) const |
Get a site. More... | |
std::size_t | getNbSites () const |
Get the number of sites. More... | |
const std::vector< Face > & | getFaces () const |
Get faces. More... | |
const Face * | getFace (std::size_t i) const |
Get a face. More... | |
const std::list< Vertex > & | getVertices () const |
Get vertices. More... | |
const std::list< HalfEdge > & | getHalfEdges () const |
Get half-edges. More... | |
bool | intersect (Box< T > box) |
Compute the intersection between the diagram and a box. More... | |
std::vector< Vector2< T > > | computeLloydRelaxation () const |
Compute a Lloyd relaxation. More... | |
Triangulation | computeTriangulation () const |
Compute the triangulation induced by the diagram. More... | |
Friends | |
template<typename > | |
class | FortuneAlgorithm |
Data structure representing a partitioning of the space.
|
default |
Default move constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
Default move assignment operator.