GraphGeometry 1.0.0-alpha
dotnet add package GraphGeometry --version 1.0.0-alpha
NuGet\Install-Package GraphGeometry -Version 1.0.0-alpha
<PackageReference Include="GraphGeometry" Version="1.0.0-alpha" />
paket add GraphGeometry --version 1.0.0-alpha
#r "nuget: GraphGeometry, 1.0.0-alpha"
// Install GraphGeometry as a Cake Addin #addin nuget:?package=GraphGeometry&version=1.0.0-alpha&prerelease // Install GraphGeometry as a Cake Tool #tool nuget:?package=GraphGeometry&version=1.0.0-alpha&prerelease
Graph Geometry
A simple, lightweight geometry library with no external dependencies. Ideal for use when simple geometry types and operations are needed. 🐧
Dependencies
None. This library is written in pure C#. No external dependencies are required. 🎉
Installation
Graph Geometry is available as a NuGet package. To install, run the following command in the Package Manager Console:
PM> Install-Package GraphGeometry
Usage
Graph Geometry provides a number of simple geometry types and operations. The following types are examples of some of the what is provided:
Vector
Graph Geometry provides a simple Vector type with a number of useful operations.
The following example demonstrates how to create a vector and perform some basic operations:
// Create a vector.
var vector = new Vector(1, 2, 3);
// Get the X, Y, and Z components of the vector.
var x = vector.X; var y = vector.Y; var z = vector.Z;
// Get the magnitude of the vector.
var magnitude = vector.Magnitude();
// Normalize the vector
var normalized = vector.Normalize();
// Calculate the dot product of two vectors.
var dotProduct = vector.DotProduct(new Vector(4, 5, 6));
// Get the cross product of two vectors
var crossProduct = vector.CrossProduct(dotProduct);
Contact
For questions, comments, or concerns, please contact us at tech@graphconsult.xyz.
Links
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
- No dependencies.
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-alpha | 81 | 2/6/2024 |