Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEOGen::FacetSeed Struct Reference

A (facet,seed) pair. More...

#include <geogram/voronoi/generic_RVD_utils.h>

Public Member Functions

 FacetSeed (index_t f_in, index_t seed_in)
 Creates a new FacetSeed. More...
 
 FacetSeed ()
 Creates a new uninitialized FacetSeed. More...
 
bool operator< (const FacetSeed &rhs) const
 Compares two facet seeds using lexicographic order. More...
 

Public Attributes

index_t f
 
index_t seed
 

Detailed Description

A (facet,seed) pair.

Used by GEOGen::RestrictedVoronoiDiagram for propagating over the facet graph and the Delaunay 1-skeleton.

Definition at line 114 of file generic_RVD_utils.h.

Constructor & Destructor Documentation

◆ FacetSeed() [1/2]

GEOGen::FacetSeed::FacetSeed ( index_t  f_in,
index_t  seed_in 
)
inline

Creates a new FacetSeed.

Parameters
[in]f_inindex of the facet
[in]seed_inindex of the seed

Definition at line 121 of file generic_RVD_utils.h.

◆ FacetSeed() [2/2]

GEOGen::FacetSeed::FacetSeed ( )
inline

Creates a new uninitialized FacetSeed.

F and seed contain random values.

Definition at line 130 of file generic_RVD_utils.h.

Member Function Documentation

◆ operator<()

bool GEOGen::FacetSeed::operator< ( const FacetSeed rhs) const
inline

Compares two facet seeds using lexicographic order.

Makes it possible to use FacetSeed as keys for std::set and std::map.

Definition at line 138 of file generic_RVD_utils.h.


The documentation for this struct was generated from the following file: