pub mod curve_offset_option;
mod helper;
pub mod offset_compound_curve;
pub mod offset_nurbs_curve;
mod vertex;
pub use curve_offset_option::*;
#[derive(Debug, Clone, Copy, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Default)]
pub enum CurveOffsetCornerType {
None,
#[default]
Sharp,
Round,
Smooth,
Chamfer,
}
pub trait Offset<'a, T> {
type Output;
type Option;
fn offset(&'a self, option: Self::Option) -> Self::Output;
}