use-polyline 0.0.6

Polyline primitives for the RustUse geometry workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# use-polyline

Polyline primitives for the RustUse geometry workspace.

`use-polyline` stores ordered 2D vertices and provides a simple path-length helper.

## Example

```rust
use use_point::Point2;
use use_polyline::Polyline2;

let polyline = Polyline2::new(vec![Point2::new(0.0, 0.0), Point2::new(3.0, 4.0)]);

assert_eq!(polyline.length(), 5.0);
```