Struct voronoi::DCEL [] [src]

pub struct DCEL {
    pub vertices: Vec<Vertex>,
    pub halfedges: Vec<HalfEdge>,
    pub faces: Vec<Face>,
}

Doubly Connected Edge List representation of a subdivision of the plane.

Fields

Vertices

Halfedges

Faces

Methods

impl DCEL
[src]

[src]

Construct an empty DCEL

[src]

Add two halfedges that are twins

[src]

Get the origin of a halfedge by index

[src]

Set the previous edge of all halfedges Assumes that the DCEL is well-formed.

[src]

Remove a vertex and all attached halfedges. Does not affect faces!!

Trait Implementations

impl Debug for DCEL
[src]

[src]

Formats the value using the given formatter.