Method CollidesWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
CollidesWith(GeoLine2)
Checks whether the edge touches a segment.
public bool CollidesWith(GeoLine2 line)
Parameters
lineGeoLine2
Returns
CollidesWith(GeoLine2, Tolerance)
Checks whether the edge touches a segment, within a tolerance.
public bool CollidesWith(GeoLine2 line, Tolerance tolerance)
Parameters
Returns
Remarks
An edge is a segment or an arc and nothing else, so every one of these reads it as whichever it is and asks that shape. What counts as touching is then whatever it counts as for a segment or an arc: neither has an inside, so against another open shape only a crossing counts, while a closed one swallowing the edge whole counts as well.
CollidesWith(GeoArc2)
Checks whether the edge touches an arc.
public bool CollidesWith(GeoArc2 arc)
Parameters
arcGeoArc2
Returns
CollidesWith(GeoArc2, Tolerance)
Checks whether the edge touches an arc, within a tolerance.
public bool CollidesWith(GeoArc2 arc, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoEdge2)
Checks whether the edge touches another edge.
public bool CollidesWith(GeoEdge2 other)
Parameters
otherGeoEdge2
Returns
CollidesWith(GeoEdge2, Tolerance)
Checks whether the edge touches another edge, within a tolerance.
public bool CollidesWith(GeoEdge2 other, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoCircle2)
Checks whether the edge touches a circle.
public bool CollidesWith(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
CollidesWith(GeoCircle2, Tolerance)
Checks whether the edge touches a circle, within a tolerance.
public bool CollidesWith(GeoCircle2 circle, Tolerance tolerance)
Parameters
circleGeoCircle2toleranceTolerance
Returns
CollidesWith(GeoRectangle2)
Checks whether the edge touches a rectangle.
public bool CollidesWith(GeoRectangle2 rect)
Parameters
rectGeoRectangle2
Returns
CollidesWith(GeoRectangle2, Tolerance)
Checks whether the edge touches a rectangle, within a tolerance.
public bool CollidesWith(GeoRectangle2 rect, Tolerance tolerance)
Parameters
rectGeoRectangle2toleranceTolerance
Returns
CollidesWith(GeoPolygon2)
Checks whether the edge touches a polygon.
public bool CollidesWith(GeoPolygon2 poly)
Parameters
polyGeoPolygon2
Returns
CollidesWith(GeoPolygon2, Tolerance)
Checks whether the edge touches a polygon, within a tolerance.
public bool CollidesWith(GeoPolygon2 poly, Tolerance tolerance)
Parameters
polyGeoPolygon2toleranceTolerance
Returns
CollidesWith(GeoPolyline2)
Checks whether the edge touches a polyline.
public bool CollidesWith(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
CollidesWith(GeoPolyline2, Tolerance)
Checks whether the edge touches a polyline, within a tolerance.
public bool CollidesWith(GeoPolyline2 polyline, Tolerance tolerance)
Parameters
polylineGeoPolyline2toleranceTolerance
Returns
CollidesWith(GeoPolygonArc2)
Checks whether the edge touches a curved loop.
public bool CollidesWith(GeoPolygonArc2 loop)
Parameters
loopGeoPolygonArc2
Returns
CollidesWith(GeoPolygonArc2, Tolerance)
Checks whether the edge touches a curved loop, within a tolerance.
public bool CollidesWith(GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc2toleranceTolerance
Returns
CollidesWith(GeoPolylineArc2)
Checks whether the edge touches a curved chain.
public bool CollidesWith(GeoPolylineArc2 chain)
Parameters
chainGeoPolylineArc2
Returns
CollidesWith(GeoPolylineArc2, Tolerance)
Checks whether the edge touches a curved chain, within a tolerance.
public bool CollidesWith(GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc2toleranceTolerance
Returns
CollidesWith(GeoFace2)
Checks whether this edge touches a face.
public bool CollidesWith(GeoFace2 face)
Parameters
faceGeoFace2
Returns
CollidesWith(GeoFace2, Tolerance)
Checks whether this edge touches a face, within a tolerance.
public bool CollidesWith(GeoFace2 face, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoTriangle2)
Checks whether this edge touches a triangle, using the default tolerance.
public bool CollidesWith(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2
Returns
CollidesWith(GeoTriangle2, Tolerance)
Checks whether this edge touches a triangle, within a tolerance.
public bool CollidesWith(GeoTriangle2 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle2toleranceTolerance