This project has moved. For the latest updates, please go here.

Is anyone interested in Point2D & 3D, Vector2D & 3D and coordinatesystem etc?

Jun 21, 2014 at 9:10 AM
I have a bunch of code and tests for this, nothing fancy but still useful ime. The reason I created them is that the built in .net types are mutable and make me nervous.
Jun 21, 2014 at 12:14 PM
Hi Johan,

There have long been plans to add a dedicated project in this area to the Math.NET family, something along the lines of "Math.NET Spatial" (along "Math.NET Numerics", "Math.NET Symbolics" etc.). So I'm certainly interested in it! I assume this code base does not use the new SIMD types?

Jun 21, 2014 at 12:59 PM
Edited Jun 21, 2014 at 1:17 PM
Never heard of any SIMD types :)

How do you suggest I proceed, create a branch for the new stuff and a PR to it? I have not used git the pull request way but am sure it will be np.

What I have:
  • Point2D
  • Vector2D
  • Point3D
  • Vector3D
  • UnitVector3D (not sure it is a good idea)
    Above implemented as immutable structs, serialization + math methods
  • Coordinatesystem
  • Plane
  • Line
  • Ray
    Above implemented as classes, serialization + math methods
~250 tests for the above, test coverage is probably a bit spotty.
For me it would be great to push it so you guys can have a look and flame away at it. As they are implemented now they have a reference to MathNet.Numerics, Coordsys wraps a 4x4 DenseMatrix for example
Jun 30, 2014 at 3:02 PM
Hi Johan,

Sorry for the delay and the confusion. I see that you have seen the new repository, let's coordinate there instead of here.

Marked as answer by cdrnet on 7/2/2014 at 1:00 PM