![](../icons/Help.png) | CDUCalculateDrapedSurveyAltitude Method |
Calculate a draped flight path, enforcing maximum descent and ascent rates.
Available since Oasis montaj version: 8.3
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Calculate a draped flight path, enforcing maximum descent and ascent rates. Additional Inputs are the sample distance along the line
and a topography grid.
Syntaxpublic static void CalculateDrapedSurveyAltitude(
CGXNETCore gxNetShared,
CDB db,
int line,
int x_ch,
int y_ch,
CIMG img,
int z_ch,
double ascent,
double descent,
double drape_height,
int n_hanning,
double hanning_width,
double min_curvature
)
Public Shared Sub CalculateDrapedSurveyAltitude (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
img As CIMG,
z_ch As Integer,
ascent As Double,
descent As Double,
drape_height As Double,
n_hanning As Integer,
hanning_width As Double,
min_curvature As Double
)
public:
static void CalculateDrapedSurveyAltitude(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int x_ch,
int y_ch,
CIMG^ img,
int z_ch,
double ascent,
double descent,
double drape_height,
int n_hanning,
double hanning_width,
double min_curvature
)
static member CalculateDrapedSurveyAltitude :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
x_ch : int *
y_ch : int *
img : CIMG *
z_ch : int *
ascent : float *
descent : float *
drape_height : float *
n_hanning : int *
hanning_width : float *
min_curvature : float -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database - line
- Type: SystemInt32
Line [<define>DB_LOCK_READONLY</define>] - x_ch
- Type: SystemInt32
X Channel [<define>DB_LOCK_READONLY</define>] - y_ch
- Type: SystemInt32
Y Channel [<define>DB_LOCK_READONLY</define>] - img
- Type: GeoEngine.Core.GXNetXCIMG
Topography grid - z_ch
- Type: SystemInt32
Output draped altitude channel [<define>DB_LOCK_READWRITE</define>] - ascent
- Type: SystemDouble
Maximum rate of ascent (%) - descent
- Type: SystemDouble
Maximum rate of descent (%) - drape_height
- Type: SystemDouble
Minimum terrain clearance (drape height) - n_hanning
- Type: SystemInt32
Number of times to apply Hanning Filter - hanning_width
- Type: SystemDouble
Width of Hanning Filter - min_curvature
- Type: SystemDouble
Minimum radius of curvature down slopes and at valley bottoms (<define>rDUMMY</define> to disable)
See Also