Namespace:
EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Shared Sub ClosestPointOnPolyline ( _ points As PointD(), _ 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( PointD[] points, 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<PointD>^ points, int offset, int numPoints, PointD pt, [OutAttribute] PointD% closestPoint, [OutAttribute] double% distance, [OutAttribute] int% segmentIndex, [OutAttribute] double% tVal ) |
JavaScript |
---|
EGIS.ShapeFileLib.GeometryAlgorithms.closestPointOnPolyline = function(points, offset, numPoints, pt, closestPoint, distance, segmentIndex, tVal); |
Parameters
- points
- Type: array<EGIS.ShapeFileLib..::..PointD>[]()[][]
- 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%