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

Syntax

Visual Basic
Public Shared Sub ClosestPointOnPolyline ( _
	data As Byte(), _
	offset As Integer, _
	numPoints As Integer, _
	pt As PointD, _
	<OutAttribute> ByRef closestPoint As PointD, _
	<OutAttribute> ByRef distance As Double, _
	<OutAttribute> ByRef segmentIndex As Integer, _
	<OutAttribute> ByRef tVal As Double _
)
C#
public static void ClosestPointOnPolyline(
	byte[] data,
	int offset,
	int numPoints,
	PointD pt,
	out PointD closestPoint,
	out double distance,
	out int segmentIndex,
	out double tVal
)
Visual C++
public:
static void ClosestPointOnPolyline(
	array<unsigned char>^ data, 
	int offset, 
	int numPoints, 
	PointD pt, 
	[OutAttribute] PointD% closestPoint, 
	[OutAttribute] double% distance, 
	[OutAttribute] int% segmentIndex, 
	[OutAttribute] double% tVal
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.closestPointOnPolyline = function(data, offset, numPoints, pt, closestPoint, distance, segmentIndex, tVal);

Parameters

data
Type: array<System..::..Byte>[]()[][]
offset
Type: System..::..Int32
numPoints
Type: System..::..Int32
pt
Type: EGIS.ShapeFileLib..::..PointD
closestPoint
Type: EGIS.ShapeFileLib..::..PointD%
distance
Type: System..::..Double%
segmentIndex
Type: System..::..Int32%
tVal
Type: System..::..Double%

See Also