Struct boostvoronoi::VoronoiVisualUtils[][src]

pub struct VoronoiVisualUtils {}
Expand description

Utilities class, that contains set of routines handful for visualization.

Implementations

Discretize parabolic Voronoi edge. Parabolic Voronoi edges are always formed by one point and one segment from the initial input set.

Args: point: input point in diagram coordinate system segment: input segment in diagram coordinate system max_dist: maximum discretization distance in output coordinate system, affine: an affine transform converting from diagram coordinate system to output coordinate system, discretization: point discretization of the given Voronoi edge in output coordinate system,

Template arguments: InCT: coordinate type of the input geometries (usually integer). Point: point type, should model point concept. Segment: segment type, should model segment concept.

Important: discretization should contain both edge endpoints initially.

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.