GraphGeometry 1.0.0-alpha

This is a prerelease version of GraphGeometry.
dotnet add package GraphGeometry --version 1.0.0-alpha
NuGet\Install-Package GraphGeometry -Version 1.0.0-alpha
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="GraphGeometry" Version="1.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GraphGeometry --version 1.0.0-alpha
#r "nuget: GraphGeometry, 1.0.0-alpha"
#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 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.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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 68 2/6/2024