/// Create a new line. Return None if the input points are
/// identical.
Create a new line. Return None if the input points are
identical.
Create a new line . Return None if the input points are identical .
pub fn new(a: Vec3f, b: Vec3f) -> Option<Line3f> {
        if a == b {
            None
        }
        else {
            Some(Line3f {
                points: (a, b)
            })
        }
    }
pub fn new ( a : Vec3f , b : Vec3f ) -> Option < Line3f > { if a == b { None } else { Some ( Line3f { points : ( a , b ) } ) } }
Create a new line.
Create a new line .
a
Vec3f
b
Vec3f