Table of Contents

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

triangle GeoTriangle2
point GeoPoint2

Returns

GeoLine2

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

triangle GeoTriangle2
line GeoLine2

Returns

GeoLine2

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

triangle GeoTriangle2
circle GeoCircle2

Returns

GeoLine2

Remarks

A triangle of no width is asked edge by edge, the first of the closest kept.