Skip to content

Commit

Permalink
Fix flip(::EllipticalSurface)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Nov 3, 2021
1 parent f2bb8a0 commit 14de926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
flip(es::EllipticalSurface{T,TR,Nothing}) where {T,TR} =
EllipticalSurface{T,TR,Nothing}(es.r, es.φ, es.origin, es.rotation * SMatrix{3,3,T,9}(1,0,0,0,-1,0,0,0,-1))
flip(es::EllipticalSurface{T,TR,T}) where {T,TR} =
EllipticalSurface{T,TR,T}(es.r, es.φ, es.origin, es.rotation * RotZ{T}(T(2π)-es.φ)SMatrix{3,3,T,9}(1,0,0,0,-1,0,0,0,-1))
EllipticalSurface{T,TR,T}(es.r, es.φ, es.origin, es.rotation * SMatrix{3,3,T,9}(1,0,0,0,-1,0,0,0,-1) * RotZ{T}(T(2π)-es.φ))

const CircularArea{T} = EllipticalSurface{T,T,Nothing}
const PartialCircularArea{T} = EllipticalSurface{T,T,T}
Expand Down

0 comments on commit 14de926

Please sign in to comment.