MapWinGIS:ShapeNetwork DistanceToOutlet

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:ShapeNetwork_DistanceToOutlet"

This page has been accessed 1,146 times. This page was last modified on 9 November 2005, at 17:05.