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

Syntax

Visual Basic
Public Shared Function DistanceToPolygon ( _
	data As Byte(), _
	offset As Integer, _
	numPoints As Integer, _
	point As PointD, _
	ignoreHoles As Boolean _
) As Double
C#
public static double DistanceToPolygon(
	byte[] data,
	int offset,
	int numPoints,
	PointD point,
	bool ignoreHoles
)
Visual C++
public:
static double DistanceToPolygon(
	array<unsigned char>^ data, 
	int offset, 
	int numPoints, 
	PointD point, 
	bool ignoreHoles
)
JavaScript
EGIS.ShapeFileLib.GeometryAlgorithms.distanceToPolygon = function(data, offset, numPoints, point, ignoreHoles);

Parameters

data
Type: array<System..::..Byte>[]()[][]
offset
Type: System..::..Int32
numPoints
Type: System..::..Int32
point
Type: EGIS.ShapeFileLib..::..PointD
ignoreHoles
Type: System..::..Boolean

See Also