Method GetClosestEdge
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetClosestEdge(GeoTriangle2, GeoPoint2)
Gets the edge of a triangle closest to a point.
public static GeoLine2 GetClosestEdge(GeoTriangle2 triangle, GeoPoint2 point)
Parameters
triangleGeoTriangle2pointGeoPoint2
Returns
Remarks
A triangle of no width is asked edge by edge, the first of the closest kept.
GetClosestEdge(GeoTriangle2, GeoLine2)
Gets the edge of a triangle closest to a segment.
public static GeoLine2 GetClosestEdge(GeoTriangle2 triangle, GeoLine2 line)
Parameters
triangleGeoTriangle2lineGeoLine2
Returns
Remarks
A triangle of no width is asked edge by edge, the first of the closest kept.
GetClosestEdge(GeoTriangle2, GeoCircle2)
Gets the edge of a triangle closest to a circle.
public static GeoLine2 GetClosestEdge(GeoTriangle2 triangle, GeoCircle2 circle)
Parameters
triangleGeoTriangle2circleGeoCircle2
Returns
Remarks
A triangle of no width is asked edge by edge, the first of the closest kept.