Planar points and rotation map
DefinitionMovingSofa_Geometry_Rotationgeometry
Planar points and counterclockwise rotation about the origin. From MovingSofa/Geometry/Plane.lean and Hallway.lean.
Definition code
import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Geometry.Euclidean.Angle.Oriented.Affine import Definitions.Def_MovingSofa_Basic set_option autoImplicit false noncomputable section namespace MovingSofa /-- Planar points. -/ abbrev Point := EuclideanSpace ℝ (Fin 2) /-- Counterclockwise rotation about the origin. -/ def rotationMap (t : Real.Angle) (p : Point) : Point := (EuclideanGeometry.o.rotation t) p end MovingSofa
Source