Click or drag to resize
CDUCalculateDrapedSurveyAltitude2 Method
Calculate a draped flight path, enforcing maximum descent and ascent rates.

Available since Oasis montaj version: 8.4
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Calculate a draped flight path, enforcing maximum descent and ascent rates. Set both a nominal and minimum drape height. Additional Inputs are the sample distance along the line and a topography grid.
Syntax
public static void CalculateDrapedSurveyAltitude2(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	CIMG img,
	int dem_ch,
	int z_ch,
	double ascent,
	double descent,
	double drape_height,
	double min_drape_height,
	int n_hanning,
	double hanning_width,
	double min_curvature
)

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
dem_ch
Type: SystemInt32
Output DEM channel [<define>DB_LOCK_READWRITE</define>] (can be <define>NULLSYMB</define> if not required)
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
Nominal terrain clearance (drape height)
min_drape_height
Type: SystemDouble
Minimum terrain clearance (hard minimum 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