Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess committed Mar 6, 2024
1 parent 4cc6637 commit 5212609
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ export AbstractElevation, DataElevation, AABB

abstract type AbstractElevation{T<:Real} end

struct AABB{T<:Union{Real}}
xmin::T
xmax::T
ymin::T
ymax::T
zmin::T
zmax::T
end

struct DataElevation{T,V<:AbstractArray{T},R<:AbstractRange{T},M<:AbstractMatrix{T}} <: AbstractElevation{T}
x::R
y::R
Expand All @@ -15,13 +24,4 @@ struct DataElevation{T,V<:AbstractArray{T},R<:AbstractRange{T},M<:AbstractMatrix
rotated_domain::AABB{T}
end

struct AABB{T<:Union{Real}}
xmin::T
xmax::T
ymin::T
ymax::T
zmin::T
zmax::T
end

end

0 comments on commit 5212609

Please sign in to comment.