Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Geometry library [closed]

Tags:

c#

geometry

I'm starting a new project in .NET which will require some geometry algorithms, such as:

  • checking if a point is inside a polygon
  • bezier curves
  • line intersections, etc.

I've found some libraries, however, they are paid/expensive, these include:

  • G# - http://www.ceometric.com/store.html
  • DigitalRune Geometry - http://www.digitalrune.com/Products/Geometry/Overview.aspx
  • NLIB - http://www.smlib.com/nlib.html
  • sgCore - http://www.geometros.com/sgcore/index.htm

These do what I need and much more, which makes me spend too much money on something that won't get used so much.

I've found some open source projects:

  • MATH.NET
  • alglib
  • anti-grain (C# bindings/port)

But these do less than I need, however, they're easy to find when you look on google. After some time searching, I've found this library:

  • Tektosyne (http://www.kynosarges.de/Tektosyne.html)

Which does most of what I need. It is also free of charge and is provided "AS-IS". Which is good.

However, if you search google for "Tektosyne", you find very few results. So my question is (for those who have experience with some "advanced" usage of geometries in c# of StackOverflow):

Do you have another libraries to recommend or why is this library not "popular"?

like image 920
Edison Gustavo Muenz Avatar asked Oct 25 '10 18:10

Edison Gustavo Muenz


3 Answers

Have you looked at this? http://dotspatial.codeplex.com/

Or

NetTopologySuite https://github.com/NetTopologySuite/NetTopologySuite

like image 69
Donny V. Avatar answered Jan 12 '23 05:01

Donny V.


I assume you're looking for something for WinForms. If you haven't looked into WPF yet, the functionality that you mentioned is all available there. Plus you could always host a WPF Control in a WinForms program.

like image 20
Mark Synowiec Avatar answered Jan 12 '23 05:01

Mark Synowiec


We are using sgCore in our 3D programs. Beautiful library. We are purchased full sourcescodes - very clear code inside.

like image 41
user1012228 Avatar answered Jan 12 '23 05:01

user1012228