Method DistanceTo
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
DistanceTo(GeoTriangle2, GeoPoint2)
Gets the distance from a triangle to a point: nought for a point within it.
public static double DistanceTo(GeoTriangle2 triangle, GeoPoint2 point)
Parameters
triangleGeoTriangle2pointGeoPoint2
Returns
DistanceTo(GeoTriangle2, GeoPolygon2)
Gets the distance from a triangle to a polygon.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolygon2 polygon)
Parameters
triangleGeoTriangle2polygonGeoPolygon2
Returns
DistanceTo(GeoTriangle2, GeoLine2)
Gets the distance from a triangle to a segment.
public static double DistanceTo(GeoTriangle2 triangle, GeoLine2 line)
Parameters
triangleGeoTriangle2lineGeoLine2
Returns
DistanceTo(GeoTriangle2, GeoCircle2)
Gets the distance from a triangle to a circle.
public static double DistanceTo(GeoTriangle2 triangle, GeoCircle2 circle)
Parameters
triangleGeoTriangle2circleGeoCircle2
Returns
DistanceTo(GeoTriangle2, GeoPolyline2)
Gets the distance from a triangle to a polyline.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolyline2 polyline)
Parameters
triangleGeoTriangle2polylineGeoPolyline2
Returns
DistanceTo(GeoTriangle2, GeoRectangle2)
Gets the distance from a triangle to a rectangle.
public static double DistanceTo(GeoTriangle2 triangle, GeoRectangle2 rect)
Parameters
triangleGeoTriangle2rectGeoRectangle2
Returns
DistanceTo(GeoTriangle2, GeoEdge2)
Gets the distance from a triangle to an edge.
public static double DistanceTo(GeoTriangle2 triangle, GeoEdge2 edge)
Parameters
triangleGeoTriangle2edgeGeoEdge2
Returns
DistanceTo(GeoTriangle2, GeoTriangle2)
Gets the distance from a triangle to another triangle.
public static double DistanceTo(GeoTriangle2 triangle, GeoTriangle2 other)
Parameters
triangleGeoTriangle2otherGeoTriangle2
Returns
DistanceTo(GeoTriangle2, GeoArc2)
Gets the distance from a triangle to an arc, using the default tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoArc2 arc)
Parameters
triangleGeoTriangle2arcGeoArc2
Returns
DistanceTo(GeoTriangle2, GeoArc2, Tolerance)
Gets the distance from a triangle to an arc, within a tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoArc2 arc, Tolerance tolerance)
Parameters
triangleGeoTriangle2arcGeoArc2toleranceTolerance
Returns
DistanceTo(GeoTriangle2, GeoPolygonArc2)
Gets the distance from a triangle to a curved loop, using the default tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolygonArc2 loop)
Parameters
triangleGeoTriangle2loopGeoPolygonArc2
Returns
DistanceTo(GeoTriangle2, GeoPolygonArc2, Tolerance)
Gets the distance from a triangle to a curved loop, within a tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
triangleGeoTriangle2loopGeoPolygonArc2toleranceTolerance
Returns
DistanceTo(GeoTriangle2, GeoPolylineArc2)
Gets the distance from a triangle to a curved chain, using the default tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolylineArc2 chain)
Parameters
triangleGeoTriangle2chainGeoPolylineArc2
Returns
DistanceTo(GeoTriangle2, GeoPolylineArc2, Tolerance)
Gets the distance from a triangle to a curved chain, within a tolerance.
public static double DistanceTo(GeoTriangle2 triangle, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
triangleGeoTriangle2chainGeoPolylineArc2toleranceTolerance