Enum lyon_tessellation::VertexSource
source · pub enum VertexSource {
Endpoint {
id: EndpointId,
},
Edge {
from: EndpointId,
to: EndpointId,
t: f32,
},
}
Expand description
Where a vertex produced by a tessellator comes from in the original path.
In most cases, vertices come directly from an endpoint. However, Curve
approximations and self-intersections can introduce vertices that are on
one or several edges, at a certain parameter t
between the two endpoints
of the edge.
Variants§
Implementations§
source§impl VertexSource
impl VertexSource
Trait Implementations§
source§impl Clone for VertexSource
impl Clone for VertexSource
source§fn clone(&self) -> VertexSource
fn clone(&self) -> VertexSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more