Struct boostvoronoi::Vertex[][src]

pub struct Vertex<F> where
    F: OutputType
{ /* fields omitted */ }
Expand description

Represents Voronoi vertex aka. Circle event.

Data members:

  1. vertex coordinates
  2. id of the incident edge
  3. mutable color member

Implementations

returns the x coordinate of the circle event

returns the x coordinate of the circle event

get_color returns the custom edge info. (does not contain the reserved bits)

set_color sets the custom edge info. (does not affect the reserved bits)

or_color sets the custom vertex info together with the previous value. (does not affect the reserved bits) This is a Cell operation, remember to set() the entire cell

Returns true if this vertex coincides with an input site.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.