Struct boostvoronoi::Cell [−][src]
pub struct Cell { /* fields omitted */ }
Expand description
Represents a Voronoi cell.
Data members:
- index of the source within the initial input set
- id of the incident edge
- mutable color member Cell may contain point or segment site inside.
Implementations
Returns true if the cell contains point site, false else.
Returns true if the cell contains segment site, false otherwise.
Returns true if the cell contains segment start point, false otherwise.
Returns true if the cell contains segment end point, false otherwise.
Returns the origin index of the cell.
Returns the origin index of the point that created this cell. It also returns the source category
Degenerate cells don’t have any incident edges.
returns a random edge defined by this cell.