Functions

Functions

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

Detailed Description

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
stepXcell length in X direction
stepYcell length in Y direction
percentborder length in percent
gridnamename of grid
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
stepXcell length in X direction
stepYcell length in Y direction
percentborder length in percent
gridnamename 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
startXX-coordinate of the first node of the grid
endXX-coordinate of the last node of the grid
stepXdistance between two neighbour X-nodes
startYY-coordinate of the first node of the grid
endYY-coordinate of the last node of the grid
stepYdistance between two neighbour Y-nodes
gridnamename for grid (optional)
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
startXX-coordinate of the first node of the grid
endXX-coordinate of the last node of the grid
stepXdistance between two neighbour X-nodes
startYY-coordinate of the first node of the grid
endYY-coordinate of the last node of the grid
stepYdistance between two neighbour Y-nodes
gridnamename for grid (optional)
bool grid_get_for_pnts ( int  Xnodes,
int  Ynodes,
const char *  points_name = "*",
const char *  gridname = NULL 
)
Tcl syntax:
grid_get_for_pnts Xnodex Ynodes "points_name" "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 = "*",
const char *  gridname = NULL 
)
Tcl syntax:
grid_get_for_pnts_step steX stepY "points_name" "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 = "*",
const char *  gridname = NULL 
)
Tcl syntax:
grid_get_from_surf
Description:
constructs grid equal to surface grid



surfit: gridding and contouring software.