Table of Contents

Method GetIntersections

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersections(GeoArc2)

Gets the points where this segment meets an arc.

public GeoPoint2[] GetIntersections(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoPoint2[]

GetIntersections(GeoArc2, Tolerance)

Gets the points where this segment meets an arc, within a tolerance.

public GeoPoint2[] GetIntersections(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolygonArc2)

Gets the points where this segment meets a curved loop.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

GeoPoint2[]

GetIntersections(GeoPolygonArc2, Tolerance)

Gets the points where this segment meets a curved loop, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolylineArc2)

Gets the points where this segment meets a curved chain.

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

GeoPoint2[]

GetIntersections(GeoPolylineArc2, Tolerance)

Gets the points where this segment meets a curved chain, within a tolerance.

public GeoPoint2[] GetIntersections(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoFace2)

Gets every point where this segment crosses the boundary of a face, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoFace2 face)

Parameters

face GeoFace2

Returns

GeoPoint2[]

GetIntersections(GeoFace2, Tolerance)

Gets every point where this segment crosses the boundary of a face, within a tolerance.

public GeoPoint2[] GetIntersections(GeoFace2 face, Tolerance tolerance)

Parameters

face GeoFace2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoRectangle2)

Gets all intersection points with a rectangle using default tolerance.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

GeoPoint2[]

GetIntersections(GeoRectangle2, Tolerance)

Gets all intersection points with a rectangle within tolerance.

public GeoPoint2[] GetIntersections(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolygon2)

Gets all intersection points with a polygon using default tolerance.

public GeoPoint2[] GetIntersections(GeoPolygon2 poly)

Parameters

poly GeoPolygon2

Returns

GeoPoint2[]

GetIntersections(GeoPolygon2, Tolerance)

Gets all intersection points with a polygon within tolerance.

public GeoPoint2[] GetIntersections(GeoPolygon2 poly, Tolerance tolerance)

Parameters

poly GeoPolygon2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoCircle2)

Gets all intersection points with a circle using default tolerance.

public GeoPoint2[] GetIntersections(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoPoint2[]

GetIntersections(GeoCircle2, Tolerance)

Gets all intersection points with a circle within tolerance.

public GeoPoint2[] GetIntersections(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoPolyline2)

Gets all intersection points with a polyline using default tolerance.

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

GeoPoint2[]

GetIntersections(GeoPolyline2, Tolerance)

Gets all intersection points with a polyline within tolerance.

public GeoPoint2[] GetIntersections(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

GeoPoint2[]

GetIntersections(GeoEdge2)

Gets every point where this segment crosses an edge.

public GeoPoint2[] GetIntersections(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoPoint2[]

GetIntersections(GeoEdge2, Tolerance)

Gets every point where this segment crosses an edge, within a tolerance.

public GeoPoint2[] GetIntersections(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

GeoPoint2[]

Remarks

The one direction here that is not simply the edge read as whichever shape it is: two straight pieces meet at a single point rather than at a list of them, so that answer is wrapped to match the curved case. GetIntersections(GeoLine2, Tolerance) does the same the other way round.

GetIntersections(GeoTriangle2)

Gets every point where this segment meets the edges of a triangle, using the default tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

GeoPoint2[]

GetIntersections(GeoTriangle2, Tolerance)

Gets every point where this segment meets the edges of a triangle, within a tolerance.

public GeoPoint2[] GetIntersections(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

GeoPoint2[]