Struct boostvoronoi::SyncDiagram[][src]

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

Sync version of the boostvoronoi::Diagram struct. This is useful when traversing the diagram in a multi threaded environment.

It also comes in an optional serde flavor.

Implementations

Returns a reference to the list of cells

Returns an edge iterator, the edges will all originate at the same vertex as ‘edge_id’. ‘edge_id’ will be the first edge returned by the iterator.

Returns a pointer to the rotation next edge over the starting point of the half-edge.

Returns a pointer to the rotation previous edge over the starting point of the half-edge.

Returns the next edge or an error

Returns the previous edge or an BvError if it does not exist

Returns the twin edge or a BvError if it does not exists

Returns true if the edge is finite (segment, parabolic arc). Returns false if the edge is infinite (ray, line).

Returns true if the edge is infinite (ray, line). Returns false if the edge is finite (segment, parabolic arc).

Returns the optional vertex0 of the edge

Returns the optional vertex1 of the edge

Returns a reference to all of the vertices

Returns a reference to a vertex

Returns a mutable reference to a vertex

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Converts a Diagram into a SyncDiagram by dropping the std::cell::Cell and Rc

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 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.