curvo 0.1.88

NURBS modeling library
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// A trait for types that have an intersection.
pub trait HasIntersection<VA, VB, A, B>: HasIntersectionParameter<A, B> {
    fn a(&self) -> &VA;
    fn b(&self) -> &VB;
}

/// A trait for types that have intersection parameters.
pub trait HasIntersectionParameter<A, B> {
    fn a_parameter(&self) -> A;
    fn b_parameter(&self) -> B;
}