Method that computes intersection of two polygons of class polygon. It converts the polygons to gpc.poly polygons and then uses gpclib to compute the intersection. The result is then converted to a list of polygons of class polygon.
1 | polygonIntersect.polygon(p1, p2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.