.NET Geometry Library [closed]
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionDoes anyone know of a good (efficient, nice API, etc.) geometry open source library for .NET? Some of the operations needed:
- Data Structures
- Vectors (2D and 3D with
float
s anddouble
s) - Lines (2D and 3D)
- Rectangles / Squares / Cubes / Boxes
- Spheres / Circles
- N-Sided Polygo开发者_运维问答n
- Matrices (
float
s anddouble
s)
- Vectors (2D and 3D with
- Algorithms
- Intersection calculations
- Area / Volume calculations
For the Linear Algebra part Math.NET - especially Math.NET Numerics - could be an option.
I would recommend RhinoCommon, the open source library of the Rhinoceros 3d modeler from mcneel http://www.rhino3d.com .
It allows for the definition of basically any advanced geometry. geometries (meshes, nurbs, polygons, solids, curve, line, polyline etc) and also intersections that result from this geometry. It's pretty well documented, and also available separate from the rhinoceros modeler.
Documentation: http://4.rhino3d.com/5/rhinocommon/
Github: https://github.com/mcneel/rhinocommon
Standalone build instructions: https://github.com/mcneel/rhinocommon/wiki/Rhino3dmIO-Toolkit-%28OpenNURBS-build%29
Not sure if it has a .NET port, but Open Geometry might be of some help.
Geotools.net -- in fact written in java but project can produce .net dll that can be used in managed project.
精彩评论