Global Function Manual (GET) |
Purpose
To get the current setting of alignment mode of string printing. The return value will be L (left), R (right) or C (center).
Usage
{String} ret = GETALIGN()
Example:
->align_mode = getalign()
->print align_mode L |
See also
set align
Purpose
To get the current angle mode, stored in a string. The returning result is "DEG", degree, or "RAD", radian, or "GRA", grade
Usage
{String} ret = GETANGLE()
Example:
->angle_mode = getangle()
->print angle_mode DEG |
See also
set angle
Purpose
To get the current block size, which is the size of a sub-block used in some image processing function, such as edgesobel, stretch, etc. Data processing using sub-block technique can increase speed and reduce the amount of required memory.
Usage
{int} ret = GETBLKSIZE()
Example:
->n = getangle()
->print n 64 |
See also
set blksize
Purpose
To get the current color map.
Usage
{Matrix_uch} ret = GETCOLORMAP()
Example:
->M = getcolormap()
->print M no of row : 64 |
See also
set colormap
Purpose
To get the current value of distance tolerance, which is used in some function in COGO, e.g. 3D line intersection.
Usage
{double} ret = GETDISTTOL()
Example:
->dist_tol = getdisttol()
-> |
See also
set disttol
Purpose
To get the current output format. The returning result is either "FIX", or "SCI".
Usage
{String} ret = GETFORMAT()
Example:
->f = getformat()
->print f SCI |
See also
set format
Purpose
To get the current output file name for commands "fprint" and "flist".
Usage
{String} ret = GETFOUT()
Example:
->fname = getfout()
->print fname RPT.txt |
See also
set fout
Purpose
To get the current interpolation mode, resample type. The returning result is "NEAREST", or "BILINEAR" or "BICUBIC".
Usage
{String} ret = GETINTP_MODE()
Example:
->resample = getintp_mode()
->print resample NEAREST |
See also
set intp_mode
Purpose
To get the current value of magic number, which is a constant used in some functions, e.g. estimated percent of noise in an image etc. The magic number cannot be set. Its sole purpose is to inform some of the important constants used in a particular function.
Usage
{double} ret = GETMAGIC_NUMBER()
Example:
->num = getmagic_number()
-> |
See also
Purpose
To get the current number of the maximum number of iteration. This is a system integer variable that control the maximum number of iteration in functions that require an iteration processing, for example exterior orientation, 3D conformal transformation, etc.
Usage
{int} ret = GETMAX_NO_ITERATE()
Example:
->no = getmax_no_iterate()
->print no 20 |
See also
set max_no_iterate
Purpose
To get the current number of the maximum number of poly-line in vectors of poly-lines, e.g. VecIndx, VecPt2D, VecPt3D, VecRCpline, etc.
Usage
{int} ret = GETMAX_NO_PLINE()
Example:
->no = getmax_no_pline()
->print no 100000 |
See also
set max_no_pline
Purpose
To get the current value of n/a (not applicable). This value is used when no solution is found in some COGO functions, e.g. line intersection.
Usage
{double} ret = GETNA()
Example:
->na = getna()
-> |
See also
set na
Purpose
To get the current value of null data.
Usage
{double} ret = GETNULL()
Example:
->nul = getnull()
-> |
See also
set null
Purpose
To get the current data path, the directory where data files are to be searched.
Usage
{String} ret = GETPATH()
Example:
->path_1 = getpath()
-> |
See also
set path
Purpose
To get the current function path, the directory from where function files are to be loaded.
Usage
{String} ret = GETPATHFUN()
Example:
->path_1 = getpathfun()
-> |
See also
set pathfun
Purpose
To get the current program path, the directory from where program files are to be loaded.
Usage
{String} ret = GETPATHPRG()
Example:
->path_1 = getpathprg()
-> |
See also
set pathprg
Purpose
To get the current pen color, R (red), G (green, B (blue).
Usage
{Vector} ret = GETPENCOLOR()
Example:
->pen_1 = getpencolor()
->print pen_1 Vector size : 3 255.000 255.000 255.000 |
See also
set pencolor
Purpose
To get the current width of the pen, which is used in various drwing functions of Matrix's and Image's object.
Usage
{int} ret = GETPENWIDTH()
Example:
->n = getwidth()
-> |
See also
set pencolor
GETPRECISION
Purpose
To get the current number of decimal digits used in command "print" and "fprint".
Usage
{int} ret = GETPRECISION()
Example:
->n = getprecision()
-> |
See also
set precision
Purpose
To get the current default maximum value of the function "rand".
Usage
{double} ret = GETRANDMAX()
Example:
->max_rand_val = getrandmax()
-> |
See also
set randmax
Purpose
To get the current printing width of commands "print" and "fprint".
Usage
{int} ret = GETWIDTH()
Example:
->n = getwidth()
-> |
See also
set width