  | CDUCalculateDrapedSurveyAltitude Method  | 
 Calculate a draped flight path, enforcing maximum descent and ascent rates.
 
    Namespace: 
   Geosoft.Desktop.GXNet
    Assembly:
   geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
Syntaxpublic static void CalculateDrapedSurveyAltitude(
	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 static void CalculateDrapedSurveyAltitude(
	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 ( 
	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 Shared Sub CalculateDrapedSurveyAltitude ( 
	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(
	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:
static void CalculateDrapedSurveyAltitude(
	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 : 
        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 
static member CalculateDrapedSurveyAltitude : 
        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
- db
 - Type: GeoEngine.Core.GXNetCDB
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.GXNetCIMG
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) 
Remarks
Calculate a draped flight path, enforcing maximum descent and ascent rates. Additional Inputs are the sample distance along the line
and a topography grid.
See Also