TCD.Mathematics
1.2.1
dotnet add package TCD.Mathematics --version 1.2.1
NuGet\Install-Package TCD.Mathematics -Version 1.2.1
<PackageReference Include="TCD.Mathematics" Version="1.2.1" />
paket add TCD.Mathematics --version 1.2.1
#r "nuget: TCD.Mathematics, 1.2.1"
// Install TCD.Mathematics as a Cake Addin #addin nuget:?package=TCD.Mathematics&version=1.2.1 // Install TCD.Mathematics as a Cake Tool #tool nuget:?package=TCD.Mathematics&version=1.2.1
NOTE: since v1.2.0 it's a Portable Class Library. Due to the nature of Portable Class Libraries, it's not possible to maintain the System.Windows.Media.Media3D namespace (and extending it). Instead all classes now orignate from TCD.Mathematics
TCD.Mathematics provides classrs, which allow advanced calculations with points, vectors, lines and planes.
The new classes:
Vector3D
Point3D
Line3D
Plane3D
The Point3D extension methods:
Vector3D.AsPoint3D()
Point3D.AsVector3D()
If you find any bugs, or miss a method, please let me know!
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.0 first public release. Line3D, Plane3D
1.1.0 WinRT support, Point3D and Vector3D replacements (WinRT), intersect Plane3Ds (WinRT, .NET45)
1.2.0 As Portable Class Library; everything in the TCD.Mathematics namespace
1.2.1 Important bugfix on Vector3D.AngleBetween, added Equals() methods for Vector3D and Point3D