ClipPolygonWithLine

Feb 14, 2012 at 12:20 PM

Hello,

I would like to clip a polygon with a line. However, I am unable to find the ClipPolygonWithLine method. Does this method still exist ?

Thanks,

Developer
Feb 14, 2012 at 1:28 PM

I'm using DotSpatial that is a few weeks out of date but it still looks like it is still there...

DotSpatial.Tools.ClipPolygonWithLine.Accurate_ClipPolygonWithLine is the method we use.  You'll need to add a reference to DotSpatial.Tools.dll which I think is now in the Plugins folder.  It should work pretty well... we fixed some bugs in it a while back.

HTH,

Kyle

Feb 14, 2012 at 1:35 PM

Yes it is. Thank you !