Skip to content

Commit

Permalink
correct english
Browse files Browse the repository at this point in the history
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
  • Loading branch information
MeganDawson42 committed Jan 7, 2025
1 parent 28f5bff commit a28c3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/header.jl
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,11 @@ spatial_info(h::LasHeader) = h.spatial_info
"""
$(TYPEDSIGNATURES)
Get the scale for point positions in a LAS file from a header `h`. Checks consistent scale for ALL axis.
Get the scale for point positions in a LAS file from a header `h`. Checks consistent scale for ALL axes.
"""
function scale(h::LasHeader)

@assert (h.spatial_info.scale.x == h.spatial_info.scale.y) && (h.spatial_info.scale.y == h.spatial_info.scale.z) "We expect all axis to be scale similarly"
@assert (h.spatial_info.scale.x == h.spatial_info.scale.y) && (h.spatial_info.scale.y == h.spatial_info.scale.z) "We expect all axes to be scaled similarly"

return h.spatial_info.scale.x
end
Expand Down

0 comments on commit a28c3c2

Please sign in to comment.