MCPcopy Create free account

hub / github.com/WesleyAC/plotter-tools / functions

Functions41 in github.com/WesleyAC/plotter-tools

↓ 7 callersFunctioncheck_parse_command
(cmd: &str, expected: Option<Command>)
hpgl/src/lib.rs:154
↓ 7 callersFunctionparse_commands
(cmd_str: String)
hpgl/src/lib.rs:17
↓ 4 callersFunctionerror
(msg: &str)
typewriter/src/main.rs:7
↓ 4 callersFunctionplot_points
(points: Vec<Point>, xscale: f64, yscale: f64)
hpgl2gcode/src/main.rs:28
↓ 3 callersFunctioncanonicalize
Canonicalize a list of commands: PU and PD do not have coords associated All movements are absolute
hpgl/src/lib.rs:55
↓ 3 callersFunctiondraw_line
(start: Point, end: Point, color: u8, orientation: Orientation, max_y: i32)
viz/src/main.rs:22
↓ 3 callersFunctionget_tags
(e: &minidom::Element)
osm2hpgl/src/main.rs:6
↓ 3 callersFunctionin_bounds
(p: &Node, b: &Bounds)
osm2hpgl/src/main.rs:139
↓ 2 callersFunctionparse_command
(cmd: String)
hpgl/src/lib.rs:113
↓ 2 callersFunctionprint_progress
(percent: f64)
chunker/src/main.rs:46
↓ 1 callersFunctioncanonical_commands_to_shapes
(cmds: Vec<CanonicalCommand>)
optimize/src/main.rs:64
↓ 1 callersFunctioncountour_to_points
(contour: Contour)
typewriter/src/main.rs:52
↓ 1 callersFunctiondistance
Euclidean
optimize/src/main.rs:101
↓ 1 callersFunctionfind_closest
Given a Point finds the Shape whose starting point is nearest the given point.
optimize/src/main.rs:106
↓ 1 callersFunctionget_id
(e: &minidom::Element)
osm2hpgl/src/main.rs:23
↓ 1 callersFunctionoptimize_all_colors
(color_to_shapes: HashMap<u8, Vec<Shape>>)
optimize/src/main.rs:32
↓ 1 callersFunctionorder_shapes
Takes all shapes to draw with one pen color and figures out a better order to draw them in Starts with first shape After finishing drawing a shape fin
optimize/src/main.rs:129
↓ 1 callersFunctionparse_bounds
(e: &minidom::Element)
osm2hpgl/src/main.rs:61
↓ 1 callersFunctionparse_node
(e: &minidom::Element)
osm2hpgl/src/main.rs:27
↓ 1 callersFunctionparse_osm
(root: &minidom::Element)
osm2hpgl/src/main.rs:70
↓ 1 callersFunctionparse_relation
(e: &minidom::Element)
osm2hpgl/src/main.rs:35
↓ 1 callersFunctionparse_way
(e: &minidom::Element)
osm2hpgl/src/main.rs:48
↓ 1 callersFunctionprint_way
(way: u64, map: &Map)
osm2hpgl/src/main.rs:153
↓ 1 callersFunctionremove_duplicate_pen_commands
(cmds: Vec<Command>)
optimize/src/main.rs:147
↓ 1 callersFunctionsegment_to_points
(segment: Segment)
typewriter/src/main.rs:25
↓ 1 callersFunctionshapes_to_commands
(color_to_shapes: HashMap<u8, Vec<Shape>>)
optimize/src/main.rs:40
↓ 1 callersFunctiontransform
(p: &Node, b: &Bounds)
osm2hpgl/src/main.rs:143
Functioncanonical_commands_to_string
(cmds: Vec<CanonicalCommand>)
hpgl/src/lib.rs:99
Functionconvert_point
(point: rusttype::Point<f32>)
typewriter/src/main.rs:18
Methodfrom_str
(model: &str)
viz/src/main.rs:52
Functionmain
()
typewriter/src/main.rs:86
Functionmain
()
hpgl2gcode/src/main.rs:47
Functionmain
()
canonicalize/src/main.rs:1
Functionmain
()
optimize/src/main.rs:21
Functionmain
()
osm2hpgl/src/main.rs:184
Functionmain
()
chunker/src/main.rs:56
Functionmain
()
viz/src/main.rs:79
Functiontest_canonicalize
()
hpgl/src/lib.rs:190
Functiontest_duplicates
()
optimize/src/main.rs:172
Functiontest_parse_multiple_commands
()
hpgl/src/lib.rs:163
Functiontest_parser
()
hpgl/src/lib.rs:178