  | CPGUDirectGrid Method  | 
 Note: This API is now obsolete.
Direct-gridding method.
 
    Namespace: 
   Geosoft.Desktop.GXNet
    Assembly:
   geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
Syntax[ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")]
public static void DirectGrid(
	CPG pg,
	double xo,
	double yo,
	double dx,
	double dy,
	double rot,
	CVV v_vx,
	CVV v_vy,
	CVV v_vz,
	double wt,
	double slope
)
[ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")]
public static void DirectGrid(
	CPG pg,
	double xo,
	double yo,
	double dx,
	double dy,
	double rot,
	CVV v_vx,
	CVV v_vy,
	CVV v_vz,
	double wt,
	double slope
)<ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")>
Public Shared Sub DirectGrid ( 
	pg As CPG,
	xo As Double,
	yo As Double,
	dx As Double,
	dy As Double,
	rot As Double,
	v_vx As CVV,
	v_vy As CVV,
	v_vz As CVV,
	wt As Double,
	slope As Double
)
<ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")>
Public Shared Sub DirectGrid ( 
	pg As CPG,
	xo As Double,
	yo As Double,
	dx As Double,
	dy As Double,
	rot As Double,
	v_vx As CVV,
	v_vy As CVV,
	v_vz As CVV,
	wt As Double,
	slope As Double
)public:
[ObsoleteAttribute(L"Deprecated since unknown, Use DirectGridding_PGU")]
static void DirectGrid(
	CPG^ pg, 
	double xo, 
	double yo, 
	double dx, 
	double dy, 
	double rot, 
	CVV^ v_vx, 
	CVV^ v_vy, 
	CVV^ v_vz, 
	double wt, 
	double slope
)
public:
[ObsoleteAttribute(L"Deprecated since unknown, Use DirectGridding_PGU")]
static void DirectGrid(
	CPG^ pg, 
	double xo, 
	double yo, 
	double dx, 
	double dy, 
	double rot, 
	CVV^ v_vx, 
	CVV^ v_vy, 
	CVV^ v_vz, 
	double wt, 
	double slope
)
[<ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")>]
static member DirectGrid : 
        pg : CPG * 
        xo : float * 
        yo : float * 
        dx : float * 
        dy : float * 
        rot : float * 
        v_vx : CVV * 
        v_vy : CVV * 
        v_vz : CVV * 
        wt : float * 
        slope : float -> unit 
[<ObsoleteAttribute("Deprecated since unknown, Use DirectGridding_PGU")>]
static member DirectGrid : 
        pg : CPG * 
        xo : float * 
        yo : float * 
        dx : float * 
        dy : float * 
        rot : float * 
        v_vx : CVV * 
        v_vy : CVV * 
        v_vz : CVV * 
        wt : float * 
        slope : float -> unit 
Parameters
- pg
 - Type: GeoEngine.Core.GXNetCPG
Input grid - xo
 - Type: SystemDouble
X origin of grid - yo
 - Type: SystemDouble
Y origin of grid - dx
 - Type: SystemDouble
X cell size - dy
 - Type: SystemDouble
Y cell size - rot
 - Type: SystemDouble
Rotation angle (degrees CCW). - v_vx
 - Type: GeoEngine.Core.GXNetCVV
X locations of values - v_vy
 - Type: GeoEngine.Core.GXNetCVV
Y locations of values - v_vz
 - Type: GeoEngine.Core.GXNetCVV
Z values to grid - wt
 - Type: SystemDouble
Power weighting for averaging (set to 0 for straight average) - slope
 - Type: SystemDouble
Slope weighting for averaging (set to 0 for pure power-law weighting) 
Remarks
Grid cells take on the averaged values inside their bounds.
Weighting can be controlled using the power and slope properties;
weighting = 1 / (distance^wtpower + 1/slope) where distance is in
units of grid cells (X dimenstion). Default is 0.0,
See Also