I got problems on a 64bit system. After compiling the an example.m the example.exe started perfectly on the computer where I compiled the file. When I am trying to start the example.exe on a different computer the example.exe doesn't run. I guess that there is one library file missing from the mex compiler. Do you know what library file(s) is missing?
Thanks for sharing this great tool
Comment only
10 Apr 2013
Polygon Clipper
Given two arbitrary polygons, the routine calculates the resulting polygon ...
Great tool. Works like a charm here.
One question:
I would like to calculate the area of a polygon returned after clipping.
Has someone already written a function to do that?
It is not working using Matlab's polyarea, since the format is different and holes have to be considered.
Comment only
12 Oct 2012
Polygon Clipper
Given two arbitrary polygons, the routine calculates the resulting polygon ...
Just a quick update ... I just installed a 64bit system and was able to get a working 64bit mex file (on Win7) with the following commands:
>> mex -c *.c
>> mex *.obj -output PolygonClip.mexw64
Mexing of course requires that you have a C-compiler running on your system. Prior to issuing the above commands you have to make sure that this compiler is selecte using:
>> mex -setup
I did some testing and could not find any memory leaks.
Cheers
Sebastian
Comment only