Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

CollidesWith(GeoLine2, GeoArc2)

Determines whether a segment touches an arc.

public static bool CollidesWith(GeoLine2 line, GeoArc2 arc)

Parameters

line GeoLine2
arc GeoArc2

Returns

bool

CollidesWith(GeoLine2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoLine2 line, GeoArc2 arc, Tolerance tolerance)

Parameters

line GeoLine2
arc GeoArc2
tolerance Tolerance

Returns

bool

Remarks

Neither has an inside, so they collide only where they cross.

CollidesWith(GeoArc2, GeoArc2)

Determines whether an arc touches another arc.

public static bool CollidesWith(GeoArc2 first, GeoArc2 second)

Parameters

first GeoArc2
second GeoArc2

Returns

bool

CollidesWith(GeoArc2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoArc2 first, GeoArc2 second, Tolerance tolerance)

Parameters

first GeoArc2
second GeoArc2
tolerance Tolerance

Returns

bool

Remarks

Neither has an inside, so they collide only where they cross. Two arcs of the same circle are the exception: they cross nowhere, because two circles lying on each other meet along their whole length rather than at points, so those are settled by asking whether either holds an end of the other, which is where an overlap of two arcs of one circle always begins and ends.

CollidesWith(GeoCircle2, GeoArc2)

Determines whether a circle touches or overlaps an arc.

public static bool CollidesWith(GeoCircle2 circle, GeoArc2 arc)

Parameters

circle GeoCircle2
arc GeoArc2

Returns

bool

CollidesWith(GeoCircle2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoCircle2 circle, GeoArc2 arc, Tolerance tolerance)

Parameters

circle GeoCircle2
arc GeoArc2
tolerance Tolerance

Returns

bool

Remarks

A circle is read as a filled disc, so an arc lying wholly within one collides with it.

CollidesWith(GeoPolygon2, GeoArc2)

Determines whether a polygon touches or overlaps an arc.

public static bool CollidesWith(GeoPolygon2 poly, GeoArc2 arc)

Parameters

poly GeoPolygon2
arc GeoArc2

Returns

bool

CollidesWith(GeoPolygon2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoPolygon2 poly, GeoArc2 arc, Tolerance tolerance)

Parameters

poly GeoPolygon2
arc GeoArc2
tolerance Tolerance

Returns

bool

Remarks

An arc lying wholly inside the polygon crosses none of its edges, so where it starts is asked as well.

CollidesWith(GeoPolyline2, GeoArc2)

Determines whether a polyline touches an arc.

public static bool CollidesWith(GeoPolyline2 polyline, GeoArc2 arc)

Parameters

polyline GeoPolyline2
arc GeoArc2

Returns

bool

CollidesWith(GeoPolyline2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoPolyline2 polyline, GeoArc2 arc, Tolerance tolerance)

Parameters

polyline GeoPolyline2
arc GeoArc2
tolerance Tolerance

Returns

bool

Remarks

Neither has an inside, so they collide only where they cross.

CollidesWith(GeoRectangle2, GeoArc2)

Determines whether a rectangle touches or overlaps an arc.

public static bool CollidesWith(GeoRectangle2 rect, GeoArc2 arc)

Parameters

rect GeoRectangle2
arc GeoArc2

Returns

bool

CollidesWith(GeoRectangle2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoArc2 arc, Tolerance tolerance)

Parameters

rect GeoRectangle2
arc GeoArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2, GeoPolygonArc2)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoPolygonArc2 loop)

Parameters

rect GeoRectangle2
loop GeoPolygonArc2

Returns

bool

CollidesWith(GeoRectangle2, GeoPolygonArc2, Tolerance)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

rect GeoRectangle2
loop GeoPolygonArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2, GeoPolylineArc2)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoPolylineArc2 chain)

Parameters

rect GeoRectangle2
chain GeoPolylineArc2

Returns

bool

CollidesWith(GeoRectangle2, GeoPolylineArc2, Tolerance)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

rect GeoRectangle2
chain GeoPolylineArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoLine2, GeoLine2)

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

public static bool CollidesWith(GeoLine2 line1, GeoLine2 line2)

Parameters

line1 GeoLine2
line2 GeoLine2

Returns

bool

CollidesWith(GeoLine2, GeoLine2, Tolerance)

Checks whether two line segments collide / intersect within tolerance.

public static bool CollidesWith(GeoLine2 line1, GeoLine2 line2, Tolerance tolerance)

Parameters

line1 GeoLine2
line2 GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2, GeoCircle2)

Checks whether two circles collide or overlap using default tolerance.

public static bool CollidesWith(GeoCircle2 c1, GeoCircle2 c2)

Parameters

c1 GeoCircle2
c2 GeoCircle2

Returns

bool

CollidesWith(GeoCircle2, GeoCircle2, Tolerance)

Checks whether two circles collide or overlap within tolerance.

public static bool CollidesWith(GeoCircle2 c1, GeoCircle2 c2, Tolerance tolerance)

Parameters

c1 GeoCircle2
c2 GeoCircle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2, GeoLine2)

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

public static bool CollidesWith(GeoCircle2 circle, GeoLine2 line)

Parameters

circle GeoCircle2
line GeoLine2

Returns

bool

CollidesWith(GeoCircle2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoCircle2 circle, GeoLine2 line, Tolerance tolerance)

Parameters

circle GeoCircle2
line GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2, GeoRectangle2)

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

public static bool CollidesWith(GeoCircle2 circle, GeoRectangle2 rect)

Parameters

circle GeoCircle2
rect GeoRectangle2

Returns

bool

CollidesWith(GeoCircle2, GeoRectangle2, Tolerance)

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

public static bool CollidesWith(GeoCircle2 circle, GeoRectangle2 rect, Tolerance tolerance)

Parameters

circle GeoCircle2
rect GeoRectangle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2, GeoPolygon2)

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

public static bool CollidesWith(GeoCircle2 circle, GeoPolygon2 poly)

Parameters

circle GeoCircle2
poly GeoPolygon2

Returns

bool

CollidesWith(GeoCircle2, GeoPolygon2, Tolerance)

Checks whether a circle collides with a polygon within tolerance.

public static bool CollidesWith(GeoCircle2 circle, GeoPolygon2 poly, Tolerance tolerance)

Parameters

circle GeoCircle2
poly GeoPolygon2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2, GeoPolyline2)

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

public static bool CollidesWith(GeoCircle2 circle, GeoPolyline2 polyline)

Parameters

circle GeoCircle2
polyline GeoPolyline2

Returns

bool

CollidesWith(GeoCircle2, GeoPolyline2, Tolerance)

Checks whether a circle collides with a polyline within tolerance.

public static bool CollidesWith(GeoCircle2 circle, GeoPolyline2 polyline, Tolerance tolerance)

Parameters

circle GeoCircle2
polyline GeoPolyline2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2, GeoRectangle2)

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

public static bool CollidesWith(GeoRectangle2 rect1, GeoRectangle2 rect2)

Parameters

rect1 GeoRectangle2
rect2 GeoRectangle2

Returns

bool

CollidesWith(GeoRectangle2, GeoRectangle2, Tolerance)

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

public static bool CollidesWith(GeoRectangle2 rect1, GeoRectangle2 rect2, Tolerance tolerance)

Parameters

rect1 GeoRectangle2
rect2 GeoRectangle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2, GeoLine2)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoLine2 line)

Parameters

rect GeoRectangle2
line GeoLine2

Returns

bool

CollidesWith(GeoRectangle2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoLine2 line, Tolerance tolerance)

Parameters

rect GeoRectangle2
line GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2, GeoPolygon2)

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

public static bool CollidesWith(GeoRectangle2 rect, GeoPolygon2 poly)

Parameters

rect GeoRectangle2
poly GeoPolygon2

Returns

bool

CollidesWith(GeoRectangle2, GeoPolygon2, Tolerance)

Checks whether a rectangle collides with a polygon within tolerance.

public static bool CollidesWith(GeoRectangle2 rect, GeoPolygon2 poly, Tolerance tolerance)

Parameters

rect GeoRectangle2
poly GeoPolygon2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolygon2, GeoLine2)

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

public static bool CollidesWith(GeoPolygon2 poly, GeoLine2 line)

Parameters

poly GeoPolygon2
line GeoLine2

Returns

bool

CollidesWith(GeoPolygon2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoPolygon2 poly, GeoLine2 line, Tolerance tolerance)

Parameters

poly GeoPolygon2
line GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolygon2, GeoPolygon2)

Checks whether two polygons collide using default tolerance.

public static bool CollidesWith(GeoPolygon2 poly1, GeoPolygon2 poly2)

Parameters

poly1 GeoPolygon2
poly2 GeoPolygon2

Returns

bool

CollidesWith(GeoPolygon2, GeoPolygon2, Tolerance)

Checks whether two polygons collide within tolerance.

public static bool CollidesWith(GeoPolygon2 poly1, GeoPolygon2 poly2, Tolerance tolerance)

Parameters

poly1 GeoPolygon2
poly2 GeoPolygon2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolyline2, GeoLine2)

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

public static bool CollidesWith(GeoPolyline2 polyline, GeoLine2 line)

Parameters

polyline GeoPolyline2
line GeoLine2

Returns

bool

CollidesWith(GeoPolyline2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoPolyline2 polyline, GeoLine2 line, Tolerance tolerance)

Parameters

polyline GeoPolyline2
line GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolyline2, GeoRectangle2)

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

public static bool CollidesWith(GeoPolyline2 polyline, GeoRectangle2 rect)

Parameters

polyline GeoPolyline2
rect GeoRectangle2

Returns

bool

CollidesWith(GeoPolyline2, GeoRectangle2, Tolerance)

Checks whether a polyline collides with a rectangle within tolerance.

public static bool CollidesWith(GeoPolyline2 polyline, GeoRectangle2 rect, Tolerance tolerance)

Parameters

polyline GeoPolyline2
rect GeoRectangle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolyline2, GeoPolygon2)

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

public static bool CollidesWith(GeoPolyline2 polyline, GeoPolygon2 poly)

Parameters

polyline GeoPolyline2
poly GeoPolygon2

Returns

bool

CollidesWith(GeoPolyline2, GeoPolygon2, Tolerance)

Checks whether a polyline collides with a polygon within tolerance.

public static bool CollidesWith(GeoPolyline2 polyline, GeoPolygon2 poly, Tolerance tolerance)

Parameters

polyline GeoPolyline2
poly GeoPolygon2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolyline2, GeoPolyline2)

Checks whether two polylines collide using default tolerance.

public static bool CollidesWith(GeoPolyline2 pl1, GeoPolyline2 pl2)

Parameters

pl1 GeoPolyline2
pl2 GeoPolyline2

Returns

bool

CollidesWith(GeoPolyline2, GeoPolyline2, Tolerance)

Checks whether two polylines collide within tolerance.

public static bool CollidesWith(GeoPolyline2 pl1, GeoPolyline2 pl2, Tolerance tolerance)

Parameters

pl1 GeoPolyline2
pl2 GeoPolyline2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolylineArc2, GeoLine2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoLine2 line)

Parameters

chain GeoPolylineArc2
line GeoLine2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoLine2 line, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
line GeoLine2
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoArc2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoArc2 arc)

Parameters

chain GeoPolylineArc2
arc GeoArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoArc2 arc, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
arc GeoArc2
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoCircle2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoCircle2 circle)

Parameters

chain GeoPolylineArc2
circle GeoCircle2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoCircle2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoCircle2 circle, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
circle GeoCircle2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolyline2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolyline2 polyline)

Parameters

chain GeoPolylineArc2
polyline GeoPolyline2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolyline2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolyline2 polyline, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
polyline GeoPolyline2
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolygon2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolygon2 polygon)

Parameters

chain GeoPolylineArc2
polygon GeoPolygon2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolygon2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolygon2 polygon, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
polygon GeoPolygon2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolylineArc2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolylineArc2 other)

Parameters

chain GeoPolylineArc2
other GeoPolylineArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolylineArc2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolylineArc2 other, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
other GeoPolylineArc2
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolygonArc2)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolygonArc2 loop)

Parameters

chain GeoPolylineArc2
loop GeoPolygonArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolylineArc2, GeoPolygonArc2, Tolerance)

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

public static bool CollidesWith(GeoPolylineArc2 chain, GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
loop GeoPolygonArc2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the chain is null.

CollidesWith(GeoPolygonArc2, GeoLine2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoLine2 line)

Parameters

loop GeoPolygonArc2
line GeoLine2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoLine2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoLine2 line, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
line GeoLine2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoArc2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoArc2 arc)

Parameters

loop GeoPolygonArc2
arc GeoArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoArc2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoArc2 arc, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
arc GeoArc2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoCircle2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoCircle2 circle)

Parameters

loop GeoPolygonArc2
circle GeoCircle2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoCircle2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoCircle2 circle, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
circle GeoCircle2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolyline2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolyline2 polyline)

Parameters

loop GeoPolygonArc2
polyline GeoPolyline2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolyline2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolyline2 polyline, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
polyline GeoPolyline2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolygon2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolygon2 polygon)

Parameters

loop GeoPolygonArc2
polygon GeoPolygon2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolygon2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolygon2 polygon, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
polygon GeoPolygon2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolylineArc2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolylineArc2 chain)

Parameters

loop GeoPolygonArc2
chain GeoPolylineArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolylineArc2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
chain GeoPolylineArc2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolygonArc2)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolygonArc2 other)

Parameters

loop GeoPolygonArc2
other GeoPolygonArc2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the loop is null.

CollidesWith(GeoPolygonArc2, GeoPolygonArc2, Tolerance)

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

public static bool CollidesWith(GeoPolygonArc2 loop, GeoPolygonArc2 other, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
other GeoPolygonArc2
tolerance Tolerance

Returns

bool

Remarks

One shape lying wholly inside the other counts, so the boundaries need not cross.

Exceptions

ArgumentNullException

Thrown when the loop is null.