|
oevislib_net
0.14.3.0
|
Functions | |
| bool | oevislib_net.Path.Contains (Point2D inPoint) |
| Checks if a point is contained inside the polygon. | |
| bool | oevislib_net.Path.IsConvex () |
| Checks if the polygon is convex. | |
| bool | oevislib_net.Path.Contains (Array< Point2D > inPoints, Optional< Array< bool > > outIsContainedArray, Optional< Array< Point2D > > outContainedPoints) |
| For each point in the array, checks if it is contained in the polygon. | |
| bool | oevislib_net.Path.Contains (Path inSubPolygon) |
| Checks if the provided path is contained inside the calling object. | |
|
inline |
For each point in the array, checks if it is contained in the polygon.
It returns a correct result only if the path is actually a polygon (close and without self-intersections).
| inPoints | Array of input points. |
| outIsContainedArray | Array where each element tells if the corresponding points are contained in the polygon. |
| outContainedPoints | Array containing only the contained points. |
|
inline |
Checks if the provided path is contained inside the calling object.
It returns a correct result only if the path is actually a polygon (close and without self-intersections).
| inSubPolygon | Input polygon. |
|
inline |
Checks if a point is contained inside the polygon.
It returns a correct result only if the path is actually a polygon (close and without self-intersections).
| inPoint | Input point. |
|
inline |
Checks if the polygon is convex.
It returns a correct result only if the path is actually a polygon (close and without self-intersections).