commands for creating grids
[commands for grid]


Functions

bool surfit::grid (REAL stepX=0, REAL stepY=0, REAL percent=2, const char *gridname=NULL)
bool surfit::grid2 (REAL stepX=0, REAL stepY=0, REAL percent=2, const char *gridname=NULL)
bool surfit::grid_get (REAL startX, REAL endX, REAL stepX, REAL startY, REAL endY, REAL stepY, const char *gridname=NULL)
bool surfit::grid_get2 (REAL startX, REAL endX, REAL stepX, REAL startY, REAL endY, REAL stepY, const char *gridname=NULL)
bool surfit::grid_get_for_pnts (int Xnodes, int Ynodes, const char *points_name_or_position="0", const char *gridname=NULL)
bool surfit::grid_get_for_pnts_step (REAL stepX, REAL stepY, const char *points_name_or_position="0", const char *gridname=NULL)
bool surfit::grid_get_from_surf (const char *surface_name_or_position="0", const char *gridname=NULL)

Function Documentation

bool grid REAL  stepX = 0,
REAL  stepY = 0,
REAL  percent = 2,
const char *  gridname = NULL
 

Tcl syntax:
grid stepX stepY percent
Description:
constructs grid with cells size stepX and stepY. Resulting grid will cover all loaded datasets with overcome border.
Parameters:
stepX cell length in X direction
stepY cell length in Y direction
percent border length in percent
gridname name of grid
Examples:
area_completer.tcl, curve.tcl, curve_ineq.tcl, curve_surf.tcl, curve_surf_ineq.tcl, dem.tcl, dem_add.tcl, ineq.tcl, points_approx.tcl, points_exact.tcl, and points_ineq.tcl.

bool grid2 REAL  stepX = 0,
REAL  stepY = 0,
REAL  percent = 2,
const char *  gridname = NULL
 

Tcl syntax:
grid2 stepX stepY percent
Description:
constructs grid with cells size stepX and stepY. Resultin grid will cover all loaded datasets with overcome border. Number of nodes in each direction is a number equal to $ 2^n $, where n is an integer number.
Parameters:
stepX cell length in X direction
stepY cell length in Y direction
percent border length in percent
gridname name of grid

bool grid_get REAL  startX,
REAL  endX,
REAL  stepX,
REAL  startY,
REAL  endY,
REAL  stepY,
const char *  gridname = NULL
 

Tcl syntax:
grid_get startX endX stepX startY endY stepY "gridname"
Description:
constructs grid
Parameters:
startX X-coordinate of the first node of the grid
endX X-coordinate of the last node of the grid
stepX distance between two neighbour X-nodes
startY Y-coordinate of the first node of the grid
endY Y-coordinate of the last node of the grid
stepY distance between two neighbour Y-nodes
gridname name for grid (optional)
Examples:
area.tcl, area_ineq.tcl, area_mean.tcl, area_surf.tcl, area_surf_ineq.tcl, area_wmean.tcl, canyon_map.tcl, canyon_trend.tcl, contour.tcl, contour_ineq.tcl, fault.tcl, fault_aniso.tcl, fault_approx.tcl, flow_area.tcl, flow_cntr.tcl, flow_curve.tcl, flow_points.tcl, flow_points2.tcl, map_hor_frac.tcl, map_ver_frac.tcl, mask.tcl, mask_add.tcl, mask_completer.tcl, mask_ineq.tcl, mask_mean.tcl, mask_surf.tcl, mask_surf_add.tcl, mask_surf_ineq.tcl, mask_wmean.tcl, mean.tcl, points.tcl, surface.tcl, surface_add.tcl, surface_ineq.tcl, trend.tcl, and wmean.tcl.

bool grid_get2 REAL  startX,
REAL  endX,
REAL  stepX,
REAL  startY,
REAL  endY,
REAL  stepY,
const char *  gridname = NULL
 

Tcl syntax:
grid_get startX endX stepX startY endY stepY "name"
Description:
constructs grid. Number of nodes in each direction is a number equal to $ 2^n $, where n is an integer number.
Parameters:
startX X-coordinate of the first node of the grid
endX X-coordinate of the last node of the grid
stepX distance between two neighbour X-nodes
startY Y-coordinate of the first node of the grid
endY Y-coordinate of the last node of the grid
stepY distance between two neighbour Y-nodes
gridname name for grid (optional)

bool grid_get_for_pnts int  Xnodes,
int  Ynodes,
const char *  points_name_or_position = "0",
const char *  gridname = NULL
 

Tcl syntax:
grid_get_for_pnts Xnodex Ynodes "points_name_or_position" "gridname"
Description:
constructs grid which covers points, and consists of Xnodes*Ynodes nodes.

bool grid_get_for_pnts_step REAL  stepX,
REAL  stepY,
const char *  points_name_or_position = "0",
const char *  gridname = NULL
 

Tcl syntax:
grid_get_for_pnts_step steX stepY "points_name_or_position" "gridname"
Description:
constructs grid with cell size stepX and stepY. Resulting grid will cover points dataset.

bool grid_get_from_surf const char *  surface_name_or_position = "0",
const char *  gridname = NULL
 

Tcl syntax:
grid_get_from_surf
Description:
constructs grid equal to surface grid



surfit: open source gridding and contouring software.