use-curve 0.0.6

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

Curve primitives for the RustUse geometry workspace.

`use-curve` provides small shared curve vocabulary: normalized parameters and sampled points.

## Example

```rust
use use_curve::{CurveParameter, CurveSample2};
use use_point::Point2;

let sample = CurveSample2::new(CurveParameter::new(0.5).unwrap(), Point2::new(1.0, 2.0));

assert_eq!(sample.parameter().value(), 0.5);
```