Crates.io Documentation Workflow Workflow dependency status

Work in progress

Anything in this API ~~may~~ will change without notice.

This crate will contain data structures and methods that deals with lines in 2d and 3d geometry.

There will be 3d and 2d implementations of: * Line, a finite two-point struct * LineString, a sequence of points * Ramer–Douglas-Peucker and Visvalingam-Whyatt line simplification algorithms. * Aabb axis aligned bounding box

This will be implemented (feature gated) for cgmath, nalgebra and limited versions for mint and plain vector scalars (no transformations etc). More implementations could be added if required.

Cargo.toml usage: cargo linestring = {version = "^0.0.3", features = ["impl-cgmath"]}

cargo linestring = {version = "^0.0.3", features = ["impl-nalgebra"]}

cargo linestring = {version = "^0.0.3", features = ["impl-mint"]}

cargo linestring = {version = "^0.0.3", features = ["impl-vec"]}