mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-12 18:26:00 +00:00
Refactor to simplify
This commit is contained in:
parent
f98436f46d
commit
e098aced8f
@ -70,7 +70,7 @@ impl CurveApproxSegment {
|
|||||||
/// Reduce the approximation to the subset defined by the provided boundary
|
/// Reduce the approximation to the subset defined by the provided boundary
|
||||||
pub fn make_subset(&mut self, boundary: CurveBoundary<Point<1>>) {
|
pub fn make_subset(&mut self, boundary: CurveBoundary<Point<1>>) {
|
||||||
assert!(
|
assert!(
|
||||||
self.boundary.is_normalized(),
|
self.is_normalized(),
|
||||||
"Expected normalized segment for making subset."
|
"Expected normalized segment for making subset."
|
||||||
);
|
);
|
||||||
assert!(
|
assert!(
|
||||||
|
Loading…
Reference in New Issue
Block a user