Remove unused method

This commit is contained in:
Hanno Braun 2023-10-05 13:10:51 +02:00
parent 0dfe80b10b
commit aa324cc698

View File

@ -22,20 +22,6 @@ pub struct 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
pub fn is_normalized(&self) -> bool {
self.boundary.is_normalized()