roseking's picture
Add lean source and binary files (part 67)
785c727 verified
Raw History Blame Contribute Delete
835 Bytes
11
def angularField (κ : ℝ) (b : Plane) : Plane :=
body · 1 line
  vec2 (κ * v (b 0 / b 1)) (κ * w (b 0 / b 1))
14
def truncatedLabels (k ρ : ℝ) : Set Plane :=
body · 1 line
  {b | ∃ p t : ℝ, |p| ≤ 1 ∧ ρ ≤ t ∧ t ≤ height k p ∧ b = vec2 (p*t) t}
17
def signedSweep (κ k : ℝ) : Set Space :=
body · 2 lines
  {z | ∃ s p t : ℝ, |s| ≤ 1 ∧ |p| ≤ 1 ∧ 0 ≤ t ∧ t ≤ height k p ∧
    z = vec3 s (p*t+s*κ*v p) (t+s*κ*w p)}
21
def apexSweep (κ ρ : ℝ) : Set Space :=
body · 2 lines
  {z | ∃ s p t : ℝ, |s| ≤ 1 ∧ |p| ≤ 1 ∧ 0 ≤ t ∧ t ≤ ρ ∧
    z = vec3 s (p*t+s*κ*v p) (t+s*κ*w p)}