Trait genmesh::EmitLines[][src]

pub trait EmitLines {
    type Vertex;
    fn emit_lines<E>(self, emit: E)
    where
        E: FnMut(Line<Self::Vertex>)
; }

Convert a Polygon into it's fragments

Associated Types

The Vertex defines the corners of a Polygon

Required Methods

convert a polygon into lines, each line is emitted via calling of the callback of emit This allow for a variable amount of lines to be returned

Implementors