mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-11 19:56:07 +00:00
Remove unused method
This commit is contained in:
parent
0dfe80b10b
commit
aa324cc698
@ -22,20 +22,6 @@ pub struct CurveApproxSegment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl CurveApproxSegment {
|
impl CurveApproxSegment {
|
||||||
/// Indicate whether the segment is empty
|
|
||||||
pub fn is_empty(&self) -> bool {
|
|
||||||
let is_empty = self.boundary.is_empty();
|
|
||||||
|
|
||||||
if is_empty {
|
|
||||||
assert!(
|
|
||||||
self.points.is_empty(),
|
|
||||||
"Empty approximation still has points"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
is_empty
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Indicate whether the segment is normalized
|
/// Indicate whether the segment is normalized
|
||||||
pub fn is_normalized(&self) -> bool {
|
pub fn is_normalized(&self) -> bool {
|
||||||
self.boundary.is_normalized()
|
self.boundary.is_normalized()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user