开发者

.NET Geometry Library [closed]

开发者 https://www.devze.com 2022-12-27 11:43 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

Does 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 floats and doubles)
    • Lines (2D and 3D)
    • Rectangles / Squares / Cubes / Boxes
    • Spheres / Circles
    • N-Sided Polygo开发者_运维问答n
    • Matrices (floats and doubles)
  • 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号