LeanPool.Rupert.Equivalences.Util #
Imported Lean Pool material for LeanPool.Rupert.Equivalences.Util.
Projecting from ℝ³ to ℝ² is linear
Equations
- projXyLinear = { toFun := projXy, map_add' := projXyLinear._proof_1, map_smul' := projXyLinear._proof_2 }
Instances For
Rotation by an element of SO3, viewed as an affine map.
Equations
- rotationAffine rot = (Matrix.toEuclideanLin ↑rot).toAffineMap
Instances For
Translating is affine.
Equations
- offsetAffine off = { toFun := fun (v : ℝ²) => off + v, linear := LinearMap.id, map_vadd' := ⋯ }
Instances For
Projection of a rotated point onto the xy-plane, as an affine map.
Equations
Instances For
Full affine transform used for projected Rupert shadows.
Equations
- fullTransformAffine off rot = (offsetAffine off).comp (projXyRotationIsAffine rot)