math / data /lean /OAI /Geometry /CylinderCovering /Barycentric /SectorDefinitions.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
668 Bytes
import OAI.Geometry.CylinderCovering.Radial.CoordinatesDefinitions
namespace OAI
noncomputable section
open Set
namespace RadialCoordinates.BarycentricSector
def positiveSector (l r A : ℝ) : Set Plane :=
{z | βˆƒ t ∈ Icc l r, βˆƒ ρ ∈ Icc (0 : ℝ) A, z = ρ β€’ ray t}
def signedSector (l r a b : ℝ) : Set Plane :=
{z | βˆƒ t ∈ Icc l r, βˆƒ ρ ∈ Icc (-a) b, z = ρ β€’ ray t}
def vertices (l r A : ℝ) : Fin 3 β†’ Plane :=
![0, A β€’ ray l, A β€’ ray r]
def perimeter (l r A : ℝ) : ℝ :=
dist (0 : Plane) (A β€’ ray l) + dist (A β€’ ray l) (A β€’ ray r) +
dist (A β€’ ray r) 0
end RadialCoordinates.BarycentricSector
end
end OAI