Table of Contents

Class Containment2

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

Provides static methods for spatial containment, inclusion, and boundary point tests.

public static class Containment2
Inheritance
Containment2
Inherited Members

Methods

Contains(GeoCircle2, GeoCircle2)

Checks whether a circle entirely contains another circle using default tolerance.

Contains(GeoCircle2, GeoCircle2, Tolerance)

Checks whether a circle entirely contains another circle within tolerance.

Contains(GeoCircle2, GeoLine2)

Checks whether a circle entirely contains a line segment using default tolerance.

Contains(GeoCircle2, GeoLine2, Tolerance)

Checks whether a circle entirely contains a line segment within tolerance.

Contains(GeoCircle2, GeoPoint2)

Checks whether a circle contains a point using default tolerance.

Contains(GeoCircle2, GeoPoint2, Tolerance)

Checks whether a circle contains a point within tolerance.

Contains(GeoFace2, GeoPoint2)

Checks whether a face with holes holds a point, on its outline included, using default tolerance.

Contains(GeoFace2, GeoPoint2, Tolerance)

Checks whether a face with holes holds a point, on its outline included, within tolerance.

Contains(GeoPolygon2, GeoLine2)

Checks whether a polygon entirely contains a line segment using default tolerance.

Contains(GeoPolygon2, GeoLine2, Tolerance)

Checks whether a polygon entirely contains a line segment within tolerance.

Contains(GeoPolygon2, GeoPoint2)

Checks whether a polygon contains a point using default tolerance (accepts points on the boundary).

Contains(GeoPolygon2, GeoPoint2, Tolerance)

Checks whether a polygon contains a point using the Ray Casting algorithm (accepts points on the boundary).

Contains(GeoPolygon2, GeoPolyline2)

Checks whether a polygon entirely contains a polyline using default tolerance.

Contains(GeoPolygon2, GeoPolyline2, Tolerance)

Checks whether a polygon entirely contains a polyline within tolerance.

Contains(GeoPolygonArc2, GeoPoint2)

Determines whether a loop that may curve encloses a point, counting its boundary as inside.

Contains(GeoPolygonArc2, GeoPoint2, Tolerance)

Determines whether a loop that may curve encloses a point, within a tolerance.

Contains(GeoRectangle2, GeoLine2)

Checks whether a rectangle entirely contains a line segment using default tolerance.

Contains(GeoRectangle2, GeoLine2, Tolerance)

Checks whether a rectangle entirely contains a line segment within tolerance. (Since a rectangle is a convex set, a line segment is contained iff both endpoints are contained).

Contains(GeoRectangle2, GeoPoint2)

Checks whether a rotated rectangle (GeoRectangle2 OBB) contains a point using default tolerance (accepts points on the boundary).

Contains(GeoRectangle2, GeoPoint2, Tolerance)

Checks whether a rotated rectangle (GeoRectangle2 OBB) contains a point within tolerance (accepts points on the boundary).

Contains(GeoRectangle2, GeoPolyline2)

Checks whether a rectangle entirely contains a polyline using default tolerance.

Contains(GeoRectangle2, GeoPolyline2, Tolerance)

Checks whether a rectangle entirely contains a polyline within tolerance.

Contains(GeoTriangle2, GeoPoint2)

Checks whether a triangle contains a point using default tolerance (accepts points on the edges).

Contains(GeoTriangle2, GeoPoint2, Tolerance)

Checks whether a triangle contains a point within tolerance (accepts points on the edges).

GetSide(GeoLine2, GeoPoint2)

Determines which side of a segment a point lies on, using the default tolerance.

GetSide(GeoLine2, GeoPoint2, Tolerance)

Determines which side of a segment a point lies on, within a tolerance.

IsPointOn(GeoCircle2, GeoPoint2)

Checks whether a point lies on the circumference of a circle using default tolerance.

IsPointOn(GeoCircle2, GeoPoint2, Tolerance)

Checks whether a point lies on the circumference of a circle within tolerance.

IsPointOn(GeoLine2, GeoPoint2)

Checks whether a point lies on the line segment using default tolerance.

IsPointOn(GeoLine2, GeoPoint2, Tolerance)

Checks whether a point lies on the line segment within tolerance.

IsPointOn(GeoPolygon2, GeoPoint2)

Checks whether a point lies on any boundary edge of the polygon using default tolerance.

IsPointOn(GeoPolygon2, GeoPoint2, Tolerance)

Checks whether a point lies on any boundary edge of the polygon within tolerance.

IsPointOn(GeoPolygonArc2, GeoPoint2)

Determines whether a point lies on a loop that may curve.

IsPointOn(GeoPolygonArc2, GeoPoint2, Tolerance)

Determines whether a point lies on a loop that may curve, within a tolerance.

IsPointOn(GeoPolyline2, GeoPoint2)

Checks whether a point lies on any segment of the polyline using default tolerance.

IsPointOn(GeoPolyline2, GeoPoint2, Tolerance)

Checks whether a point lies on any segment of the polyline within tolerance.

IsPointOn(GeoPolylineArc2, GeoPoint2)

Determines whether a point lies on a chain that may curve.

IsPointOn(GeoPolylineArc2, GeoPoint2, Tolerance)

Determines whether a point lies on a chain that may curve, within a tolerance.

Locate(GeoCircle2, GeoPoint2)

Classifies the spatial location of a point relative to a circle using default tolerance.

Locate(GeoCircle2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a circle within tolerance.

Locate(GeoFace2, GeoPoint2)

Classifies the spatial location of a point relative to a face with holes using default tolerance.

Locate(GeoFace2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a face with holes within tolerance.

Locate(GeoLine2, GeoPoint2)

Classifies the spatial location of a point relative to a line segment using default tolerance.

Locate(GeoLine2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a line segment within tolerance.

Locate(GeoPolygon2, GeoPoint2)

Classifies the spatial location of a point relative to a polygon using default tolerance.

Locate(GeoPolygon2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a polygon within tolerance.

Locate(GeoPolygonArc2, GeoPoint2)

Says where a point lies against a loop that may curve.

Locate(GeoPolygonArc2, GeoPoint2, Tolerance)

Says where a point lies against a loop that may curve, within a tolerance.

Locate(GeoPolyline2, GeoPoint2)

Classifies the spatial location of a point relative to a polyline using default tolerance. A polyline has no interior, so the result is either OnSide or OutSide.

Locate(GeoPolyline2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a polyline within tolerance. A polyline has no interior, so the result is either OnSide or OutSide; convert it with ToPolygon() to classify against an enclosed area.

Locate(GeoPolylineArc2, GeoPoint2)

Says where a point lies against a chain that may curve.

Locate(GeoPolylineArc2, GeoPoint2, Tolerance)

Says where a point lies against a chain that may curve, within a tolerance.

Locate(GeoRectangle2, GeoPoint2)

Classifies the spatial location of a point relative to a rotated rectangle (GeoRectangle2 OBB) using default tolerance.

Locate(GeoRectangle2, GeoPoint2, Tolerance)

Classifies the spatial location of a point relative to a rotated rectangle (GeoRectangle2 OBB) within tolerance.

Locate(GeoTriangle2, GeoPoint2)

Classifies the location of a point relative to a triangle using default tolerance.

Locate(GeoTriangle2, GeoPoint2, Tolerance)

Classifies the location of a point relative to a triangle within tolerance.