Bezier-rs: Add trim for Subpath (#1006)

* Move compare.rs

* Update traits for Subpath and ManipulatorGroup

* Implement trim

* UI adjustments and more tests

* Add reverse, refactor code, rename variables

* Improve comments

* Comment nits

* Address comments

* Update trim behavior

* Update doc comment for trim

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Hannah Li
2023-02-26 18:41:11 -05:00
committed by Keavon Chambers
co-authored by Keavon Chambers
parent 4495488546
commit 8d3daeae78
13 changed files with 571 additions and 64 deletions
+2 -3
View File
@@ -205,10 +205,9 @@ impl Bezier {
#[cfg(test)]
mod tests {
use crate::utils::TValue;
use super::compare::compare_points;
use super::*;
use crate::compare::compare_points;
use crate::utils::TValue;
#[test]
fn test_quadratic_from_points() {