MapWinGIS:ShapeNetwork DistanceToOutlet
From MapWindow GIS
DistanceToOutlet
Gets the distance from the specified point in the current shape to the outlet point in the shape network.
VB.NET Usage
ReadOnly Property DistanceToOutlet(PointIndex As Integer) As Double
Parameters
|
PointIndex | The index of a point in the current shape. |
| ReturnValue | The distance from the specified point in the current shape to the outlet point in the shape network. |
Sample Code
Private Sub DistanceToOutlet()
Dim shapenetwork As New MapWinGIS.ShapeNetwork()
Dim distance As Double
'Get the distance from point 0 in the current shape to the outlet point in the shape network
distance = shapenetwork.DistanceToOutlet(0)
End Sub
VB 6 Usage
ReadOnly Property DistanceToOutlet(PointIndex As Long) As Double
Parameters
|
PointIndex | The index of a point in the current shape. |
| ReturnValue | The distance from the specified point in the current shape to the outlet point in the shape network. |
Sample Code
Private Sub DistanceToOutlet()
Dim shapenetwork As New MapWinGIS.shapenetwork
Dim distance As Double
'Get the distance from point 0 in the current shape to the outlet point in the shape network
distance = shapenetwork.DistanceToOutlet(0)
End Sub
















