catenary 0.5.0

A library for catenary curves
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Represents the possible number of roots (x given y) for a Catenary curve.
#[derive(Debug)]
pub enum Roots<T> {
    /// Represents no roots. (y is greater than the maximum height of the curve or less
    ///  than the minimum height of the curve)
    None,
    /// Represents one root.
    One(T),
    /// Represents two roots.
    Two(T, T),
}