Struct triangulate::formats::DeindexedListFormat
source · pub struct DeindexedListFormat<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>>where
P::Vertex: Clone,{ /* private fields */ }
Expand description
A ListFormat which outputs the triangle list by their actual vertex values, not their indices
Implementations§
Trait Implementations§
source§impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Vertex>> Debug for DeindexedListFormat<'p, P, L>where
P::Vertex: Clone,
impl<'p, P: Debug + PolygonList<'p> + ?Sized, L: Debug + List<P::Vertex>> Debug for DeindexedListFormat<'p, P, L>where P::Vertex: Clone,
source§impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>> ListFormat<'p, P> for DeindexedListFormat<'p, P, L>where
P::Vertex: Clone,
impl<'p, P: PolygonList<'p> + ?Sized, L: List<P::Vertex>> ListFormat<'p, P> for DeindexedListFormat<'p, P, L>where P::Vertex: Clone,
§type Builder = DeindexedListBuilder<'p, P, L>
type Builder = DeindexedListBuilder<'p, P, L>
The type responsible for constructing the triangle list. Read more
source§fn initialize(
self,
polygon_list: &'p P
) -> Result<Self::Builder, <Self::Builder as ListBuilder<'p, P>>::Error>
fn initialize( self, polygon_list: &'p P ) -> Result<Self::Builder, <Self::Builder as ListBuilder<'p, P>>::Error>
Constructs a ListFormat::Builder, optionally using a reference to the PolygonList being triangulated.
source§fn into_fan_format(self) -> FanToListFormat<'p, P, Self>where
Self: Sized,
fn into_fan_format(self) -> FanToListFormat<'p, P, Self>where Self: Sized,
Converts this ListFormat into a FanFormat, the format type required for triangulation.