NetFabric.Numerics.Geodesy
1.0.0-beta07
Prefix Reserved
dotnet add package NetFabric.Numerics.Geodesy --version 1.0.0-beta07
NuGet\Install-Package NetFabric.Numerics.Geodesy -Version 1.0.0-beta07
<PackageReference Include="NetFabric.Numerics.Geodesy" Version="1.0.0-beta07" />
paket add NetFabric.Numerics.Geodesy --version 1.0.0-beta07
#r "nuget: NetFabric.Numerics.Geodesy, 1.0.0-beta07"
// Install NetFabric.Numerics.Geodesy as a Cake Addin #addin nuget:?package=NetFabric.Numerics.Geodesy&version=1.0.0-beta07&prerelease // Install NetFabric.Numerics.Geodesy as a Cake Tool #tool nuget:?package=NetFabric.Numerics.Geodesy&version=1.0.0-beta07&prerelease
NetFabric.Numerics.Geodesy
Your Strongly-Typed Solution for geodetic Coordinates and Calculations in C#!
Key Features
- Strongly-typed implementation of geodetic coordinates.
- Utilizes the latest generic math features, compatible with .NET 7 and C# 11.
Introduction
Welcome to NetFabric.Numerics.Geodesy – a library tailored for precise geodesy calculations in C# with a focus on strong typing.
Getting Started
To make the most of NetFabric.Numerics.Geodesy, ensure you're operating within a compatible .NET 7 or higher environment. Once ready, explore the world of geodesy with strong typing.
Strongly-Typed Geodesy Coordinates
NetFabric.Numerics.Geodesy distinguishes itself with a strongly-typed approach to geodetic coordinates. It covers various datums, including WGS84, NAD83, and more, providing accuracy through strong typing:
var wgs84Point = new Point<WGS84, Degrees, double>(new(0.0), new(0.0)); // LatLon point using WGS84 datum
var wgs1972Point = new Point<WGS1972, Degrees, double>(new(0.0), new(0.0)); // LatLon point using WGS1972 datum
var nad83Point = new Point<NAD83, Degrees, double>(new(0.0), new(0.0)); // LatLon point using NAD83 datum
var nad1927ConusPoint = new Point<NAD1927CONUS, Degrees, double>(new(0.0), new(0.0)); // LatLon point using NAD1927CONUS datum
var doublePrecisionPoint = new Point<WGS84, Degrees, double>(new(0.0), new(0.0)); // LatLon point with double precision
var singlePrecisionPoint = new Point<WGS84, Degrees, float>(new(0.0f), new(0.0f)); // LatLon point with single precision
var minutesPoint = new Point<WGS84, Degrees, double>(Angle.ToDegrees<double>(0, 0.0), Angle.ToDegrees<double>(0, 0.0)); // LatLon point using degrees and minutes
var minutesSecondsPoint = new Point<WGS84, Degrees, double>(Angle.ToDegrees<double>(0, 0, 0.0), Angle.ToDegrees<double>(0, 0, 0.0)); // LatLon point using degrees, minutes, and seconds
var (degreesLatitude, minutesLatitude) = Angle.ToDegreesMinutes<double, int, double>(wgs84Point.Latitude); // Convert latitude to degrees and minutes
var (degreesLatitude2, minutesLatitude2, secondsLatitude) = Angle.ToDegreesMinutesSeconds<double, int, int, double>(wgs84Point.Latitude); // Convert latitude to degrees, minutes, and seconds
Geodesy with Strong Typing
Explore how NetFabric.Numerics.Geodesy can enhance your geodesy calculations with strong typing. Discover the precision, safety, and versatility it brings to C# geodesy operations.
Credits
The following open-source projects are used to build and test this project:
License
This project is licensed under the MIT license. See the LICENSE file for more info.
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. |
-
net7.0
- NetFabric.Numerics (>= 1.0.0-beta08)
- NetFabric.Numerics.Angle (>= 1.0.0-beta08)
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 |
---|---|---|
1.0.0-beta07 | 188 | 11/3/2023 |