Method Contains
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Contains(GeoPoint2)
Checks whether the polygon contains a point using default tolerance (accepts points on the boundary).
public bool Contains(GeoPoint2 GeoPoint2)
Parameters
GeoPoint2GeoPoint2
Returns
Contains(GeoPoint2, Tolerance)
Checks whether the polygon contains a point (accepts points on the boundary). Uses the Ray Casting algorithm (shoots a horizontal ray and counts intersections).
public bool Contains(GeoPoint2 GeoPoint2, Tolerance tolerance)
Parameters
Returns
Contains(GeoPolyline2)
Checks whether the polygon entirely contains a polyline using default tolerance.
public bool Contains(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
Contains(GeoPolyline2, Tolerance)
Checks whether the polygon entirely contains a polyline within tolerance.
public bool Contains(GeoPolyline2 polyline, Tolerance tolerance)
Parameters
polylineGeoPolyline2toleranceTolerance