Click here to Skip to main content
12,697,525 members (27,465 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#2.0 C#3.0 C#
Is there any good free Computational Geometry Library for C#,I haven't find any,Thank you!
Posted 7-May-12 7:57am
pucx1.2K
Updated 7-May-12 7:59am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Look through this list:
http://en.wikipedia.org/wiki/List_of_numerical_libraries#.NET_Framework_Languages_C.23.2C_F.23_and_VB.NET[^].

Also, "computational geometry" is not the most used term (http://en.wikipedia.org/wiki/Computational_geometry[^]). Maybe, that was the reason for your failure to find the appropriate libraries. They do exist but are classified in different ways.

It's more likely that you mostly need analytic geometry, and the mathematical apparatus of it is linear algebra, so you should better look for linear algebra features of the libraries first.

See also:
http://en.wikipedia.org/wiki/Analytic_geometry[^],
http://en.wikipedia.org/wiki/Linear_algebra[^].

—SA
  Permalink  
Comments
pucx 8-May-12 13:12pm
   
I want a .NET lib to solve 2d/3d graph problems, such as convex hull,Graphical relationship contains polygon,line,circle,pline etc. not linear algebra,matrx etc.thank you.
SAKryukov 8-May-12 13:44pm
   
This is all linear algebra, most of it, if you still did not get it... :-)
--SA
pucx 8-May-12 13:48pm
   
yeah,it is still a linear algebra,but I want to find a lib like CGAL,http://www.cgal.org/,but it isn't use in .NET,just in C++.Thanks.
SAKryukov 8-May-12 14:00pm
   
I understand what you are looking for. You can wrap as much of CGAL as you want in .NET using either P/Invoke or mixed-mode C++ + C++/CLI project.
Are you familiar with those techniques?
Of course I understand if you want to avoid so much work...
--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I'm starting an open-source Computational Geometry library for .NET here: https://github.com/govert/RobustGeometry.NET. Something based on CGAL is not suitable for my case, since I need to eventually need to use the code in commercial software and would prefer a simpler, purely managed solution, even at the cost of some performance.

So far I have the robust geometric predicates of Shewchuk ported to C#, and I'm working on a helfedge mesh representation.

Any help would be appreciated!
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 1 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100