Method IsPointOn
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
IsPointOn(GeoLine2, GeoPoint2)
Checks whether a point lies on the line segment using default tolerance.
public static bool IsPointOn(GeoLine2 line, GeoPoint2 point)
Parameters
Returns
- bool
true if the point lies on the line segment; otherwise, false.
IsPointOn(GeoLine2, GeoPoint2, Tolerance)
Checks whether a point lies on the line segment within tolerance.
public static bool IsPointOn(GeoLine2 line, GeoPoint2 point, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
pointGeoPoint2The target point.
toleranceToleranceThe tolerance.
Returns
- bool
true if the point lies on the line segment within tolerance; otherwise, false.
IsPointOn(GeoCircle2, GeoPoint2)
Checks whether a point lies on the circumference of a circle using default tolerance.
public static bool IsPointOn(GeoCircle2 circle, GeoPoint2 point)
Parameters
circleGeoCircle2The circle.
pointGeoPoint2The target point.
Returns
- bool
true if the point lies on the circle boundary; otherwise, false.
IsPointOn(GeoCircle2, GeoPoint2, Tolerance)
Checks whether a point lies on the circumference of a circle within tolerance.
public static bool IsPointOn(GeoCircle2 circle, GeoPoint2 point, Tolerance tolerance)
Parameters
circleGeoCircle2The circle.
pointGeoPoint2The target point.
toleranceToleranceThe tolerance.
Returns
- bool
true if the point lies on the circle boundary within tolerance; otherwise, false.
IsPointOn(GeoPolygon2, GeoPoint2)
Checks whether a point lies on any boundary edge of the polygon using default tolerance.
public static bool IsPointOn(GeoPolygon2 poly, GeoPoint2 point)
Parameters
polyGeoPolygon2The polygon.
pointGeoPoint2The target point.
Returns
- bool
true if the point lies on the polygon boundary; otherwise, false.
IsPointOn(GeoPolygon2, GeoPoint2, Tolerance)
Checks whether a point lies on any boundary edge of the polygon within tolerance.
public static bool IsPointOn(GeoPolygon2 poly, GeoPoint2 point, Tolerance tolerance)
Parameters
polyGeoPolygon2The polygon.
pointGeoPoint2The target point.
toleranceToleranceThe tolerance.
Returns
- bool
true if the point lies on the polygon boundary within tolerance; otherwise, false.
IsPointOn(GeoPolyline2, GeoPoint2)
Checks whether a point lies on any segment of the polyline using default tolerance.
public static bool IsPointOn(GeoPolyline2 polyline, GeoPoint2 point)
Parameters
polylineGeoPolyline2The polyline.
pointGeoPoint2The target point.
Returns
- bool
true if the point lies on the polyline; otherwise, false.
IsPointOn(GeoPolyline2, GeoPoint2, Tolerance)
Checks whether a point lies on any segment of the polyline within tolerance.
public static bool IsPointOn(GeoPolyline2 polyline, GeoPoint2 point, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline.
pointGeoPoint2The target point.
toleranceToleranceThe tolerance.
Returns
- bool
true if the point lies on the polyline within tolerance; otherwise, false.
IsPointOn(GeoPolylineArc2, GeoPoint2)
Determines whether a point lies on a chain that may curve.
public static bool IsPointOn(GeoPolylineArc2 chain, GeoPoint2 point)
Parameters
chainGeoPolylineArc2pointGeoPoint2
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
IsPointOn(GeoPolylineArc2, GeoPoint2, Tolerance)
Determines whether a point lies on a chain that may curve, within a tolerance.
public static bool IsPointOn(GeoPolylineArc2 chain, GeoPoint2 point, Tolerance tolerance)
Parameters
chainGeoPolylineArc2pointGeoPoint2toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the chain is null.
IsPointOn(GeoPolygonArc2, GeoPoint2)
Determines whether a point lies on a loop that may curve.
public static bool IsPointOn(GeoPolygonArc2 loop, GeoPoint2 point)
Parameters
loopGeoPolygonArc2pointGeoPoint2
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.
IsPointOn(GeoPolygonArc2, GeoPoint2, Tolerance)
Determines whether a point lies on a loop that may curve, within a tolerance.
public static bool IsPointOn(GeoPolygonArc2 loop, GeoPoint2 point, Tolerance tolerance)
Parameters
loopGeoPolygonArc2pointGeoPoint2toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the loop is null.