pub type VoronoiFace<'a, V, DE, UE, F> = DynamicHandleImpl<'a, V, DE, UE, F, VoronoiFaceTag, PossiblyOuterTag>;
Expand description
A handle to a face of the voronoi diagram.
Aliased Type§
struct VoronoiFace<'a, V, DE, UE, F> { /* private fields */ }
Implementations§
Source§impl<'a, V, DE, UE, F> VoronoiFace<'a, V, DE, UE, F>
impl<'a, V, DE, UE, F> VoronoiFace<'a, V, DE, UE, F>
Sourcepub fn as_delaunay_vertex(&self) -> VertexHandle<'a, V, DE, UE, F>
pub fn as_delaunay_vertex(&self) -> VertexHandle<'a, V, DE, UE, F>
Converts this face into its dual vertex of the Delaunay Triangulation.
Sourcepub fn adjacent_edges(
&self,
) -> impl DoubleEndedIterator<Item = DirectedVoronoiEdge<'a, V, DE, UE, F>>
pub fn adjacent_edges( &self, ) -> impl DoubleEndedIterator<Item = DirectedVoronoiEdge<'a, V, DE, UE, F>>
Returns an iterator that returns all edges adjacent to this face.
The edges are returned in clockwise order.