Functions

Functions

boolvec * curv_read (const char *filename, const char *curvname=NULL, int col1=1, int col2=2, const char *delimiter=" \t", int skip_lines=0, int grow_by=250)
 
boolvec * curv_load (const char *filename, const char *curvname=NULL)
 
boolvec * curv_write (const char *filename, const char *curv_name="*", const char *delimiter="\t")
 
boolvec * curv_save (const char *filename, const char *curv_name="*")
 
boolvec * curv_load_bln (const char *filename, const char *curv_name="*")
 
boolvec * curv_load_shp (const char *filename, const char *curvname="*")
 
boolvec * curv_save_bln (const char *filename, const char *curv_name="*")
 
boolvec * curv_save_shp (const char *filename, const char *curv_name="*")
 

Detailed Description

Function Documentation

boolvec* surfit::curv_load ( const char *  filename,
const char *  curvname = NULL 
)
Tcl syntax:
curv_load filename "curvname"
Description:
loads curve from surfit datafile
boolvec* surfit::curv_load_bln ( const char *  filename,
const char *  curv_name = "*" 
)
Tcl syntax:
curv_load_bln filename "curv_name"
Description:
loads curve named "curvname" from BLN file. Loads all curves if no curvname specified.
Implemented in library:
libsurfit_io
boolvec* surfit::curv_load_shp ( const char *  filename,
const char *  curvname = "*" 
)
Tcl syntax:
curv_load_shp filename "curv_name"
Description:
loads curve named "curvname" from ERSI shape file. Loads all curves if no name specified
Implemented in library:
libsurfit_io
boolvec* surfit::curv_read ( const char *  filename,
const char *  curvname = NULL,
int  col1 = 1,
int  col2 = 2,
const char *  delimiter = " \t",
int  skip_lines = 0,
int  grow_by = 250 
)
Tcl syntax:
curv_read filename "curvname" 1st_column 2nd_column "delimiters" number_of_lines_to_skip
Description:
loads curve from formatted text file
Parameters
filenamename of formatted text file
curvnamename for curv dataset
col1column with X coordinates
col2column with Y coordinates
skip_linesnumber of lines to skip header
delimiterdelimiters between columns. May be " ", "\t", "," or other symbols
grow_by=250
Example
curv_read "C:\\curv.txt" my_curv curv_read "C:\\curv2.txt" my_curv2 2 3 "\t"
boolvec* surfit::curv_save ( const char *  filename,
const char *  curv_name = "*" 
)
Tcl syntax:
curv_save "filename" curv_name
Description:
saves curve to surfit datafile
boolvec* surfit::curv_save_bln ( const char *  filename,
const char *  curv_name = "*" 
)
Tcl syntax:
curv_save_bln "filename" curv_name
Description:
saves curve to BLN file
Parameters
filenamename for BLN file
curv_namecurv name
Example
curv_save_bln "C:\\curv.bln" my_curv
Implemented in library:
libsurfit_io
boolvec* surfit::curv_save_shp ( const char *  filename,
const char *  curv_name = "*" 
)
Tcl syntax:
curv_save_shp "filename" curv_name
Description:
saves curve to ERSI shape file
Implemented in library:
libsurfit_io
boolvec* surfit::curv_write ( const char *  filename,
const char *  curv_name = "*",
const char *  delimiter = "\t" 
)
Tcl syntax:
curv_write "filename" curv_name "delimiter"
Description:
saves curve to formatted text file.



surfit: gridding and contouring software.