Czlovek.Spatials
1.0.10
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Czlovek.Spatials --version 1.0.10
NuGet\Install-Package Czlovek.Spatials -Version 1.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Czlovek.Spatials" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Czlovek.Spatials" Version="1.0.10" />
<PackageReference Include="Czlovek.Spatials" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Czlovek.Spatials --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Czlovek.Spatials, 1.0.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Czlovek.Spatials@1.0.10
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Czlovek.Spatials&version=1.0.10
#tool nuget:?package=Czlovek.Spatials&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Spatials
This code contains utility functions for calculating coordinates and bearings on Earth's surface.
Functions
CalculateBearing
Calculates the bearing (angle) between two coordinates.
public static double CalculateBearing(Coordinate origin, Coordinate dest)
Parameters
origin: The starting coordinate.dest: The ending coordinate.
Returns
- The bearing (angle) between the two coordinates in degrees.
CalculateCoordinate
Calculates the destination coordinate given a starting coordinate, bearing (angle), and distance.
public static Coordinate CalculateCoordinate(Coordinate origin, double bearing, double length, DistanceUnits units = DistanceUnits.Meters)
Parameters
origin: The starting coordinate.bearing: The bearing (angle) from the starting coordinate to the destination coordinate.length: The distance from the starting coordinate to the destination coordinate.units: The units in which the distance is measured. Default value isDistanceUnits.Meters.
Returns
- The destination coordinate.
GetEarthRadius
Returns the Earth's radius in the specified units.
internal static double GetEarthRadius(DistanceUnits units)
Parameters
units: The units in which to return the Earth's radius.
Returns
- The Earth's radius in the specified units.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Czlovek.Convertors (>= 1.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.0-beta.84 | 48 | 5/7/2026 |
| 2.1.0-beta.83 | 50 | 5/7/2026 |
| 2.1.0-beta.82 | 88 | 3/20/2026 |
| 2.1.0-beta.81 | 72 | 2/21/2026 |
| 2.1.0-beta.80 | 65 | 2/21/2026 |
| 2.1.0-beta.79 | 69 | 2/13/2026 |
| 2.1.0-beta.78 | 71 | 2/11/2026 |
| 2.1.0-beta.77 | 66 | 2/11/2026 |
| 2.1.0-beta.76 | 65 | 2/10/2026 |
| 2.1.0-beta.75 | 91 | 2/10/2026 |
| 2.1.0-beta.74 | 78 | 1/28/2026 |
| 2.1.0-beta.73 | 198 | 11/6/2025 |
| 2.1.0-beta.72 | 179 | 11/6/2025 |
| 2.1.0-beta.71 | 188 | 11/4/2025 |
| 2.1.0-beta.70 | 172 | 11/4/2025 |
| 2.1.0-beta.69 | 187 | 11/4/2025 |
| 2.1.0-beta.68 | 175 | 11/4/2025 |
| 2.1.0-beta.67 | 183 | 11/2/2025 |
| 2.1.0-beta.66 | 184 | 11/2/2025 |
| 1.0.10 | 383 | 4/11/2023 |
Loading failed