Geometry intersection functions. More...
Public Member Functions | |
| array | Triangulate (array polygon, array holes) |
| Triangulates a 2D polygon. | |
| array | Intersect (array subjects, array clips, GeoBooleanOp booleanOp=< ref GeoBooleanOp_Intersection >, GeoFillRule fillRule=< ref GeoFillRule_EvenOdd >) |
| Intersects a 2D polygon. | |
| boolean | IsPointInsidePolygon (array polygon, decimal pointX, decimal pointY) |
| Checks if a point is inside a polygon. | |
| boolean | IsLineIntersectingPolygon (array polygon, decimal x1, decimal y1, decimal x2, decimal y2) |
| Checks if a line segment is intersecting a polygon. | |
Geometry intersection functions.
| array Geometry.Intersect | ( | array | subjects, |
| array | clips, | ||
| GeoBooleanOp | booleanOp = < ref GeoBooleanOp_Intersection >, | ||
| GeoFillRule | fillRule = < ref GeoFillRule_EvenOdd > ) |
Intersects a 2D polygon.
| subjects | Array of subject polygons. |
| clips | Array of clip polygons. |
| booleanOp | The boolean operation. |
| fillRule | The fill rule. |
| boolean Geometry.IsLineIntersectingPolygon | ( | array | polygon, |
| decimal | x1, | ||
| decimal | y1, | ||
| decimal | x2, | ||
| decimal | y2 ) |
Checks if a line segment is intersecting a polygon.
| polygon | The polygon to check. |
| x1 | The starting X of the segment. |
| y1 | The starting Y of the segment. |
| x2 | The ending X of the segment. |
| y2 | The ending Y of the segment. |
| boolean Geometry.IsPointInsidePolygon | ( | array | polygon, |
| decimal | pointX, | ||
| decimal | pointY ) |
Checks if a point is inside a polygon.
| polygon | The polygon. |
| pointX | The X of the point. |
| pointY | The Y of the point. |
| array Geometry.Triangulate | ( | array | polygon, |
| array | holes ) |
Triangulates a 2D polygon.
| polygon | Array of vertices that compromise the polygon to triangulate. |
| holes | Array of polygons that compromise the holes to be made in the resulting shape. |