A second pseudo vertex is formed reciprocally. Pseudo-vertices are a concepts that occur at an intersection: when two edges cross, one pseudo-vertex is formed by the first edge going up to and until the intersection vertex and the second edge going out from the intersection. Intersections are either vertices of an input ring ( ring-vertex-intersection) or a self- or cross-intersection of those ring(s) ( self-intersection). This algorithm employs the notion of intersections and pseudo-vertices as outlined in the article. In the above example, the output will be a FeatureCollection of two polygons, one with coordinates ,]], parent -1, winding 1 and net winding 1, and one with coordinates ,]], parent -1, winding -1 and net winding -1.Īnother example input and output is shown below. These simple polygons have properties such as their parent polygon, winding number and net winding number. The output is a FeatureCollection containing the simple, non-self-intersecting one-ring polygon features that the complex polygon is composed of.
![mapinfo 10 how to show area intersection between rings mapinfo 10 how to show area intersection between rings](https://2.bp.blogspot.com/-TGe5JYKPiqQ/VZgn8DOYALI/AAAAAAAAApo/LLekfSfcM-I/s1600/Igor%2BMontarroyos%2Bde%2BSousa.jpg)
![mapinfo 10 how to show area intersection between rings mapinfo 10 how to show area intersection between rings](https://www.mdpi.com/remotesensing/remotesensing-12-03763/article_deploy/html/images/remotesensing-12-03763-g008.png)
![mapinfo 10 how to show area intersection between rings mapinfo 10 how to show area intersection between rings](https://i.ytimg.com/vi/eXW4bZ8TzAc/maxresdefault.jpg)
The input feature is a GeoJSON polygon which may be non-conform the Simple Features standard in the sense that it's inner and outer rings may cross-intersect or self-intersect, that the outer ring must not contain the optional inner rings and that the winding number must not be positive for the outer and negative for the inner rings. Var simplepolygon = require ( 'simplepolygon' ) var poly = var result = simplepolygon ( poly )