ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Vector Objects - intersection or merge
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

haida2

Liechtenstein
1 Posts

Posted - Jun 28 2012 :  09:16:27  Show Profile  Reply
Hi @all,

is it possible with TImageEnVect to get the intersection of two polygons?

I need to calculate the area of this intersecting polygon. A workarount would be to merge the two polygons and then subtract this area value from the sum of the single areas.

Is one of these possible? I did not find something in the help nor in this forum.

Thanks a lot!

fab

1310 Posts

Posted - Jul 20 2012 :  13:50:15  Show Profile  Reply
Hi,
TImageEnVect cannot calc the intersection of two polygons.
Anyway on the internet you can find are several algorithms (you can get each polygon point from TImageEnVect) ready, and also free libraries (ie http://www.cs.man.ac.uk/~toby/alan/software/gpc.html).
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: