You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GeometryOpsCore/src/types.jl
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,15 @@ and that are usable in more than just GeometryOps.
12
12
A manifold is mathematically defined as a topological space that resembles Euclidean space locally.
13
13
14
14
In GeometryOps (and geodesy more generally), there are three manifolds we care about:
15
-
- [`Linear`](@ref): the 2d plane, a completely Euclidean manifold
15
+
- [`Planar`](@ref): the 2d plane, a completely Euclidean manifold
16
16
- [`Spherical`](@ref): the unit sphere, but one where areas are multiplied by the radius of the Earth. This is not Euclidean globally, but all map projections attempt to represent the sphere on the Euclidean 2D plane to varying degrees of success.
17
17
- [`Geodesic`](@ref): the ellipsoid, the closest we can come to representing the Earth by a simple geometric shape. Parametrized by `semimajor_axis` and `inv_flattening`.
18
18
19
19
Generally, we aim to have `Linear` and `Spherical` be operable everywhere, whereas `Geodesic` will only apply in specific circumstances.
20
20
Currently, those circumstances are `area` and `segmentize`, but this could be extended with time and https://github.com/JuliaGeo/SphericalGeodesics.jl.
21
21
=#
22
22
23
-
exportLinear, Spherical, Geodesic
23
+
exportPlanar, Spherical, Geodesic
24
24
export TraitTarget
25
25
export BoolsAsTypes, _True, _False, _booltype
26
26
@@ -31,17 +31,19 @@ A manifold is mathematically defined as a topological space that resembles Eucli
31
31
32
32
We use the manifold definition to define the space in which an operation should be performed, or where a geometry lies.
33
33
34
-
Currently we have [`Linear`](@ref), [`Spherical`](@ref), and [`Geodesic`](@ref) manifolds.
34
+
Currently we have [`Planar`](@ref), [`Spherical`](@ref), and [`Geodesic`](@ref) manifolds.
35
35
"""
36
36
abstract type Manifold end
37
37
38
38
"""
39
-
Linear()
39
+
Planar()
40
40
41
-
A linear manifold means that the space is completely Euclidean,
42
-
and planar geometry suffices.
41
+
A planar manifold refers to the 2D Euclidean plane.
42
+
43
+
Z coordinates may be accepted but will not influence geometry calculations, which
44
+
are done purely on 2D geometry. This is the standard "2.5D" model used by e.g. GEOS.
0 commit comments