Table of Contents

Class Collision2

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

Whether a straight shape touches or overlaps one that curves.

public static class Collision2
Inheritance
Collision2
Inherited Members

Remarks

The rule is the one used everywhere else in this class: two shapes collide when their boundaries meet, or when one lies inside the other and the two never cross at all. A polygon, a rectangle and a circle are closed and so have an inside; a segment, a polyline and an arc do not, so for those nothing but a meeting counts.

Methods

CollidesWith(GeoArc2, GeoArc2)

Determines whether an arc touches another arc.

CollidesWith(GeoArc2, GeoArc2, Tolerance)

Determines whether an arc touches another arc, within a tolerance.

CollidesWith(GeoCircle2, GeoArc2)

Determines whether a circle touches or overlaps an arc.

CollidesWith(GeoCircle2, GeoArc2, Tolerance)

Determines whether a circle touches or overlaps an arc, within a tolerance.

CollidesWith(GeoCircle2, GeoCircle2)

Checks whether two circles collide or overlap using default tolerance.

CollidesWith(GeoCircle2, GeoCircle2, Tolerance)

Checks whether two circles collide or overlap within tolerance.

CollidesWith(GeoCircle2, GeoLine2)

Checks whether a circle collides with a line segment using default tolerance.

CollidesWith(GeoCircle2, GeoLine2, Tolerance)

Checks whether a circle collides with a line segment within tolerance.

CollidesWith(GeoCircle2, GeoPolygon2)

Checks whether a circle collides with a polygon using default tolerance.

CollidesWith(GeoCircle2, GeoPolygon2, Tolerance)

Checks whether a circle collides with a polygon within tolerance.

CollidesWith(GeoCircle2, GeoPolyline2)

Checks whether a circle collides with a polyline using default tolerance.

CollidesWith(GeoCircle2, GeoPolyline2, Tolerance)

Checks whether a circle collides with a polyline within tolerance.

CollidesWith(GeoCircle2, GeoRectangle2)

Checks whether a circle collides with a rotated rectangle using default tolerance.

CollidesWith(GeoCircle2, GeoRectangle2, Tolerance)

Checks whether a circle collides with a rotated rectangle within tolerance.

CollidesWith(GeoLine2, GeoArc2)

Determines whether a segment touches an arc.

CollidesWith(GeoLine2, GeoArc2, Tolerance)

Determines whether a segment touches an arc, within a tolerance.

CollidesWith(GeoLine2, GeoLine2)

Checks whether two line segments collide / intersect using default tolerance.

CollidesWith(GeoLine2, GeoLine2, Tolerance)

Checks whether two line segments collide / intersect within tolerance.

CollidesWith(GeoPolygon2, GeoArc2)

Determines whether a polygon touches or overlaps an arc.

CollidesWith(GeoPolygon2, GeoArc2, Tolerance)

Determines whether a polygon touches or overlaps an arc, within a tolerance.

CollidesWith(GeoPolygon2, GeoLine2)

Checks whether a polygon collides with a line segment using default tolerance.

CollidesWith(GeoPolygon2, GeoLine2, Tolerance)

Checks whether a polygon collides with a line segment within tolerance.

CollidesWith(GeoPolygon2, GeoPolygon2)

Checks whether two polygons collide using default tolerance.

CollidesWith(GeoPolygon2, GeoPolygon2, Tolerance)

Checks whether two polygons collide within tolerance.

CollidesWith(GeoPolygonArc2, GeoArc2)

Determines whether a loop that may curve touches or overlaps an arc.

CollidesWith(GeoPolygonArc2, GeoArc2, Tolerance)

Determines whether a loop that may curve touches or overlaps an arc, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoCircle2)

Determines whether a loop that may curve touches or overlaps a circle.

CollidesWith(GeoPolygonArc2, GeoCircle2, Tolerance)

Determines whether a loop that may curve touches or overlaps a circle, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoLine2)

Determines whether a loop that may curve touches or overlaps a straight segment.

CollidesWith(GeoPolygonArc2, GeoLine2, Tolerance)

Determines whether a loop that may curve touches or overlaps a straight segment, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoPolygon2)

Determines whether a loop that may curve touches or overlaps a straight loop.

CollidesWith(GeoPolygonArc2, GeoPolygon2, Tolerance)

Determines whether a loop that may curve touches or overlaps a straight loop, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoPolygonArc2)

Determines whether a loop that may curve touches or overlaps a loop that may curve.

CollidesWith(GeoPolygonArc2, GeoPolygonArc2, Tolerance)

Determines whether a loop that may curve touches or overlaps a loop that may curve, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoPolyline2)

Determines whether a loop that may curve touches or overlaps a straight chain.

CollidesWith(GeoPolygonArc2, GeoPolyline2, Tolerance)

Determines whether a loop that may curve touches or overlaps a straight chain, within a tolerance.

CollidesWith(GeoPolygonArc2, GeoPolylineArc2)

Determines whether a loop that may curve touches or overlaps a chain that may curve.

CollidesWith(GeoPolygonArc2, GeoPolylineArc2, Tolerance)

Determines whether a loop that may curve touches or overlaps a chain that may curve, within a tolerance.

CollidesWith(GeoPolyline2, GeoArc2)

Determines whether a polyline touches an arc.

CollidesWith(GeoPolyline2, GeoArc2, Tolerance)

Determines whether a polyline touches an arc, within a tolerance.

CollidesWith(GeoPolyline2, GeoLine2)

Checks whether a polyline collides with a line segment using default tolerance.

CollidesWith(GeoPolyline2, GeoLine2, Tolerance)

Checks whether a polyline collides with a line segment within tolerance.

CollidesWith(GeoPolyline2, GeoPolygon2)

Checks whether a polyline collides with a polygon using default tolerance.

CollidesWith(GeoPolyline2, GeoPolygon2, Tolerance)

Checks whether a polyline collides with a polygon within tolerance.

CollidesWith(GeoPolyline2, GeoPolyline2)

Checks whether two polylines collide using default tolerance.

CollidesWith(GeoPolyline2, GeoPolyline2, Tolerance)

Checks whether two polylines collide within tolerance.

CollidesWith(GeoPolyline2, GeoRectangle2)

Checks whether a polyline collides with a rectangle using default tolerance.

CollidesWith(GeoPolyline2, GeoRectangle2, Tolerance)

Checks whether a polyline collides with a rectangle within tolerance.

CollidesWith(GeoPolylineArc2, GeoArc2)

Determines whether a chain that may curve touches or overlaps an arc.

CollidesWith(GeoPolylineArc2, GeoArc2, Tolerance)

Determines whether a chain that may curve touches or overlaps an arc, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoCircle2)

Determines whether a chain that may curve touches or overlaps a circle.

CollidesWith(GeoPolylineArc2, GeoCircle2, Tolerance)

Determines whether a chain that may curve touches or overlaps a circle, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoLine2)

Determines whether a chain that may curve touches or overlaps a straight segment.

CollidesWith(GeoPolylineArc2, GeoLine2, Tolerance)

Determines whether a chain that may curve touches or overlaps a straight segment, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoPolygon2)

Determines whether a chain that may curve touches or overlaps a straight loop.

CollidesWith(GeoPolylineArc2, GeoPolygon2, Tolerance)

Determines whether a chain that may curve touches or overlaps a straight loop, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoPolygonArc2)

Determines whether a chain that may curve touches or overlaps a loop that may curve.

CollidesWith(GeoPolylineArc2, GeoPolygonArc2, Tolerance)

Determines whether a chain that may curve touches or overlaps a loop that may curve, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoPolyline2)

Determines whether a chain that may curve touches or overlaps a straight chain.

CollidesWith(GeoPolylineArc2, GeoPolyline2, Tolerance)

Determines whether a chain that may curve touches or overlaps a straight chain, within a tolerance.

CollidesWith(GeoPolylineArc2, GeoPolylineArc2)

Determines whether a chain that may curve touches or overlaps a chain that may curve.

CollidesWith(GeoPolylineArc2, GeoPolylineArc2, Tolerance)

Determines whether a chain that may curve touches or overlaps a chain that may curve, within a tolerance.

CollidesWith(GeoRectangle2, GeoArc2)

Determines whether a rectangle touches or overlaps an arc.

CollidesWith(GeoRectangle2, GeoArc2, Tolerance)

Determines whether a rectangle touches or overlaps an arc, within a tolerance.

CollidesWith(GeoRectangle2, GeoLine2)

Checks whether a rectangle collides with a line segment using default tolerance.

CollidesWith(GeoRectangle2, GeoLine2, Tolerance)

Checks whether a rectangle collides with a line segment within tolerance.

CollidesWith(GeoRectangle2, GeoPolygon2)

Checks whether a rectangle collides with a polygon using default tolerance.

CollidesWith(GeoRectangle2, GeoPolygon2, Tolerance)

Checks whether a rectangle collides with a polygon within tolerance.

CollidesWith(GeoRectangle2, GeoPolygonArc2)

Determines whether a rectangle touches or overlaps a loop that may curve.

CollidesWith(GeoRectangle2, GeoPolygonArc2, Tolerance)

Determines whether a rectangle touches or overlaps a loop that may curve, within a tolerance.

CollidesWith(GeoRectangle2, GeoPolylineArc2)

Determines whether a rectangle touches or overlaps a chain that may curve.

CollidesWith(GeoRectangle2, GeoPolylineArc2, Tolerance)

Determines whether a rectangle touches or overlaps a chain that may curve, within a tolerance.

CollidesWith(GeoRectangle2, GeoRectangle2)

Checks whether two rotated rectangles (GeoRectangle2 OBB) collide using default tolerance.

CollidesWith(GeoRectangle2, GeoRectangle2, Tolerance)

Checks whether two rotated rectangles (GeoRectangle2 OBB) collide using the Separating Axis Theorem (SAT).