Trait rgeometry::PolygonScalar [−][src]
pub trait PolygonScalar: Debug + Neg<Output = Self> + NumAssignOps + NumOps<Self, Self> + Ord + Sum + Clone { fn from_constant(val: i8) -> Self; fn cmp_dist(p: &[Self; 2], q: &[Self; 2], r: &[Self; 2]) -> Ordering; fn cmp_slope(p: &[Self; 2], q: &[Self; 2], r: &[Self; 2]) -> Ordering; fn cmp_vector_slope(p: &[Self; 2], q: &[Self; 2], r: &[Self; 2]) -> Ordering; fn cmp_perp_vector_slope(
p: &[Self; 2],
q: &[Self; 2],
r: &[Self; 2]
) -> Ordering; }
Required methods
fn from_constant(val: i8) -> Self