File size: 668 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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