Create a Viewshed on a grid in a named list.
Visual Basic |
---|
Public Function CreateViewshed( _ ByVal list As String, _ ByVal x As Double, _ ByVal y As Double, _ ByVal z As Double, _ ByVal r As Double, _ ByVal bQZone As Long _ ) As Integer |
0 create the viewshed as a grid item
1 create the viewshed as a QZone item
If the list contains more than one grid only the first will be used. The z value is absolute, i.e. not a relative distance. The resolution of the resulting QZone depends on the size of the grid cells.
Available: GEO MD OD SISpy
Group:
sis.CreateViewshed("MyGrid", xpos, ypos, zpos+10, 4000, 1)
Creates a QZone to represent the viewshed of the grid in the list MyGrid viewed from a position 10m above x, y, z with a maximum view radius of 4000m.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).