[][src]Module lasy::stream::frame::opt

A series of optimisation passes for laser frames.

Structs

Segment

Represents a line segment over which the laser scanner will travel.

Segments

An iterator yielding all non-blank line segments.

Enums

SegmentKind

describes whether a line segment between two points is blank or not.

Functions

euler_graph_to_euler_circuit

Given a Euler Graph describing the vector image to be drawn, return the optimal Euler Circuit describing the path over which the laser should travel.

point_graph_to_euler_graph

Convert a point graph to a euler graph.

points_to_segments

Create an iterator yielding segments from an iterator yielding points.

segments_to_point_graph

Convert the given laser frame vector segments to a graph of points.

Type Definitions

EulerCircuit

A type used to represent a directed graph describing a euler circuit.

EulerGraph

A type used to represent a graph of points that contains at least one euler circuit.

PointGraph

A type used to represent graph describing the points in a frame and how they are joined.