Dans.Geometry.Library
25.1221.4026
dotnet add package Dans.Geometry.Library --version 25.1221.4026
NuGet\Install-Package Dans.Geometry.Library -Version 25.1221.4026
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="Dans.Geometry.Library" Version="25.1221.4026" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dans.Geometry.Library --version 25.1221.4026
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dans.Geometry.Library, 25.1221.4026"
#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.
// Install Dans.Geometry.Library as a Cake Addin #addin nuget:?package=Dans.Geometry.Library&version=25.1221.4026 // Install Dans.Geometry.Library as a Cake Tool #tool nuget:?package=Dans.Geometry.Library&version=25.1221.4026
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dan's Geometry Library
An easy-to-implement function library providing numeric operations to handle solutions to typical problems encountered in the field of geometry, including Bezier Curves, Linear Interpolation, and Trigonometry.
Basic Example:
using System;
using Geometry;
// Calculate the hypotenuse of a triangle given its
// angle, in Degrees, and adjacent side.
namespace MyProject
{
public class Program
{
public static void Main(string[] args)
{
float hyp = Trig.GetLineHypFromAngAdj(
Trig.DegToRad(12.3f), 177.5f
);
Console.WriteLine($"Hypotenuse: {hyp} units...");
}
}
}
Updates
Version | Description |
---|---|
25.1221.4026 | No breaking changes; FEllipse class has been added as a first-class geometric primitive shape with built-in functions for cloning, transferring values between shapes, retrieving the bounding box of the shape, retrieving the focal points and the imaginary string length used to draw a perimeter in the real world, intersecting with lines, and plotting coordinates on the edge at an angle from center; Ellipse and its method FindIntersections have been marked as depreciated and will be removed in the near future, so please change your references to the identical FEllipse.FindIntersections method at your earliest convenience. |
25.1218.4115 | No breaking changes; Ellipse class has been added, with FPoint[] FindIntersections(FPoint center, float radiusX, float radiusY, FLine line), which finds 0, 1, or 2 intersections between the edge of an ellipse and a line. |
25.1207.4429 | No breaking changes; Updates to API documentation. |
25.1206.4136 | No breaking changes; Repaired bug in FLine.Intersect that was causing minor inaccuracies. |
25.1205.4515 | No breaking changes; Added Translate and TranslateVector methods to the FLine class. |
25.1131.3500 | No breaking changes; Added the FMatrix and FVector classes from another internal library; Translate method has been added to the FArea class; IsEmpty method is now available on all geometric descriptor classes; FArea class now fully supports negative widths and heights. |
25.1116.3952 | No breaking changes; Re-activated complete support for intuitive orientation of angular functions by introducing the DrawingSpaceEnum enumeration; Re-appreciated the WindingOrientationEnum enumeration to allow all angular methods to express an intuitive direction, in conjunction with a DrawingSpaceEnum value, where appropriate. |
25.1114.3932 | Added Circle class with the methods GetArcBoundingBox, GetQuadrant, GetQuadrantCrossings, and GetQuadrantsOccupied; Marked WindingOrientationEnum as depreciated because the terms clockwise and counterclockwise are subjective according to the drawing space to which they are applied - please use ArcDirectionEnum for most related purposes; Changed GetInsideParallelLine(FPoint, FPoint, WindingOrientationEnum, float) to GetInsideParallelLine(FPoint, FPoint, ArcDirectionEnum, float) to promote compatibility with both Display space and Cartesian space; Corrected the output of Trig.GetPathOrientation method to return the angle in terms of the natural angular progression of an arc to make it compatible with both Display and Cartesian spaces. |
25.1110.4639 | Added static methods GetCubicBoundingBox, GetLinearBoundingBox, GetQuadraticBoundingBox to the Bezier class; Added Clone methods to the FArea, FLine, FPath, FPoint, FScale, and FSize classes; Added static method GetLinePoint to the Linear class; Added the NormalizeRad method to replace the depreciated ReduceRad method in the Trig class. |
25.1108.3829 | Rename all Assign methods to TransferValues |
25.1105.1217 | Initial public release. |
More Information
For more information, please see the GitHub project: danielanywhere/Geometry
Full API documentation is available at this library's GitHub User Page.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
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 |
---|---|---|
25.1221.4026 | 32 | 2/21/2025 |
25.1218.4115 | 55 | 2/18/2025 |
25.1206.4136 | 47 | 2/6/2025 |
25.1205.4515 | 70 | 2/5/2025 |
25.1131.3500 | 74 | 1/31/2025 |
25.1116.3952 | 81 | 1/16/2025 |
25.1114.3932 | 36 | 1/14/2025 |
25.1110.4639 | 74 | 1/10/2025 |
25.1108.3829 | 56 | 1/8/2025 |
25.1105.1217 | 72 | 1/7/2025 |