From 5212609966c4c3c79f4f4be019b1f52aa0b24c11 Mon Sep 17 00:00:00 2001 From: Ludovic Raess Date: Wed, 6 Mar 2024 14:31:22 +0100 Subject: [PATCH] Update --- src/Geometry.jl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Geometry.jl b/src/Geometry.jl index ecff2cab..8fa17000 100644 --- a/src/Geometry.jl +++ b/src/Geometry.jl @@ -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 @@ -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