Struct spherical_voronoi::Diagram
[−]
[src]
pub struct Diagram { /* fields omitted */ }
Methods
impl Diagram
[src]
fn add_vertex(&mut self, position: Position, cells: [Cell; 3]) -> Vertex
fn vertices(&self) -> IdsIter<VertexData>
fn vertex_position(&self, vertex: Vertex) -> Position
fn vertex_edges(&self, vertex: Vertex) -> &[Edge]
fn vertex_cells(&self, vertex: Vertex) -> &[Cell]
fn vertex_neighbors(&self, vertex: Vertex) -> Vec<Vertex>
fn add_edge(&mut self,
vertex0: Vertex,
vertex1: Vertex,
cell0: Cell,
cell1: Cell)
-> Edge
vertex0: Vertex,
vertex1: Vertex,
cell0: Cell,
cell1: Cell)
-> Edge