Type Definition P2
valora
type P2 = Point;
A two dimensional point.
impl Rotate for P2
fn rotate(self, pivot: P2, theta: Angle) -> Self
impl Translate for P2
fn translate(self, translation: V2) -> Self
Translate self by the given translation vector.
self