rene 0.2.0

Computational geometry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::fmt;

#[derive(Clone, fmt::Debug)]
pub struct Point<Scalar> {
    pub(super) x: Scalar,
    pub(super) y: Scalar,
}

impl<Scalar> Point<Scalar> {
    pub fn new(x: Scalar, y: Scalar) -> Self {
        Self { x, y }
    }
}