Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function ClosestPointOnPolyline ( _
	points As PointD(), _
	offset As Integer, _
	numPoints As Integer, _
	pt As PointD, _
	<OutAttribute> ByRef polylineDistanceInfo As PolylineDistanceInfo _
) As Double
C#
public static double ClosestPointOnPolyline(
	PointD[] points,
	int offset,
	int numPoints,
	PointD pt,
	out PolylineDistanceInfo polylineDistanceInfo
)
Visual C++
public:
static double ClosestPointOnPolyline(
	array<PointD>^ points, 
	int offset, 
	int numPoints, 
	PointD pt, 
	[OutAttribute] PolylineDistanceInfo% polylineDistanceInfo
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.closestPointOnPolyline = function(points, offset, numPoints, pt, polylineDistanceInfo);

Parameters

points
Type: array<EGIS.ShapeFileLib..::..PointD>[]()[][]
offset
Type: System..::..Int32
numPoints
Type: System..::..Int32
pt
Type: EGIS.ShapeFileLib..::..PointD
polylineDistanceInfo
Type: EGIS.ShapeFileLib..::..PolylineDistanceInfo%

See Also