Bezier-rs: Insert function for subpath (#876)

* Add manipulator

* Add manipulator group

* Add UI

* Address comments and rebase

* Renamed add_manipulator_group to insert

Co-authored-by: Rob Nadal <robnadal44@gmail.com>
This commit is contained in:
Hannah Li
2023-01-12 18:26:25 -08:00
committed by Keavon Chambers
co-authored by Rob Nadal
parent 23b4306eab
commit 05a2cd32a5
5 changed files with 194 additions and 0 deletions
+2
View File
@@ -1,5 +1,6 @@
mod core;
mod lookup;
mod manipulators;
mod solvers;
mod structs;
pub use structs::*;
@@ -9,6 +10,7 @@ use crate::Bezier;
use std::ops::{Index, IndexMut};
/// Structure used to represent a path composed of [Bezier] curves.
#[derive(Clone, PartialEq)]
pub struct Subpath {
manipulator_groups: Vec<ManipulatorGroup>,
closed: bool,