RulePoint
- RulePoint 6.1.2
- All Products
geointersect(count of coordinates in 1st polygon,count of coordinates of 2nd polygon,1st polygon coordinates,2nd polygon coordinates)
Argument
| Required
Optional
| Description
|
---|---|---|
count of coordinates in 1st polygon
| Required
| The count of all the geo points of the first polygon. If the polygon points are accessed from a watchlist, the value for the count of the coordinates is 0.
|
count of coordinates in 2nd polygon
| Required
| The count of all the geo points of the second polygon. If the polygon points are accessed from a watchlist, the value for the count of the coordinates is 0.
|
1st polygon coordinates
| Required
| All the geo points of the first polygon.
|
2nd polygon coordinates
| Required
| All the geo points of the second polygon.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
when 1 polygon p1 ,1 polygon p2 with geointersect(p1.count,p2.count,p1.x1,p1.y1,p1.x2,p1.y2,p1.x3,p1.y3, p2.x1,p2.y1,p2.x2,p2.y2,p2.x3,p2.y3) as result then response with body=”${result}”
Event Property Value
| Description
| Result
|
---|---|---|
p1.count : 6
p2.count: 6
p1.x1=50,p1.y1=50,p1.x2=0,p1.y2=0,p1.x3=100,p1.y3=0
p2.x1=20,p2.y1=20,p2.x2=0,p2.y2=0,p2.x3=50,p2.y3=0
| Verifies whether the two polygons are intersecting.
| true
|