pub fn point2_min<S>(a: Point2<S>, b: Point2<S>) -> Point2<S>where S: PartialOrd,
Coordinate-wise min