MapWinGIS:Tin IsNDTriangle

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

IsNDTriangle

Gets whether or not a triangle is a no-data triangle.


VB.NET Usage

ReadOnly Property IsNDTriangle(TriIndex As Integer) As Boolean

            Parameters

TriIndex

The index of the triangle to be tested whether or not it is a no-data triangle.
ReturnValue A boolean value representing whether or not the triangle is a no-data triangle.

Sample Code

    Private Sub TIN_IsNDTriangle()
        Dim tin As New MapWinGIS.Tin()
        'Check if triangle 0 is a no-data triangle in the TIN
        If tin.IsNDTriangle(0) Then
            'Display a message if triangle 0 is a no-data triangle
            MsgBox("Triangle 0 is a no-data triangle.")
        End If
    End Sub
  

VB 6 Usage
ReadOnly Property IsNDTriangle(TriIndex As Long) As Boolean
            Parameters

TriIndex

The index of the triangle to be tested whether or not it is a no-data triangle.
ReturnValue A boolean value representing whether or not the triangle is a no-data triangle.

Sample Code

    Private Sub TIN_IsNDTriangle()
        Dim tin As New MapWinGIS.tin
        'Check if triangle 0 is a no-data triangle in the TIN
        If tin.IsNDTriangle(0) Then
            'Display a message if triangle 0 is a no-data triangle
            MsgBox ("Triangle 0 is a no-data triangle.")
        End If
    End Sub

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

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