Functions

Functions

boolvec * surf_load (const char *filename, const char *surfname=NULL)
 
boolvec * surf_save (const char *filename, const char *surface_name="*")
 
boolvec * surf_plot (const char *filename=NULL, const char *surface_name="*", size_t number_of_levels=16, bool draw_isos=true, bool draw_labels=true)
 
boolvec * surf_load_grd (const char *filename, const char *surfname=0)
 
boolvec * surf_load_gmt (const char *filename, const char *surfname=0)
 
boolvec * surf_load_grass (const char *filename, const char *surfname=0)
 
boolvec * surf_load_arcgis (const char *filename, const char *surfname=0)
 
boolvec * surf_load_xyz (const char *filename, const char *surfname=0, bool force=false)
 
boolvec * surf_load_jpg (const char *filename, const char *surfname=0, REAL minz=0, REAL maxz=0, REAL startX=0, REAL startY=0, REAL stepX=1, REAL stepY=1)
 
boolvec * surf_load_bmp (const char *filename, const char *surfname=0, REAL minz=0, REAL maxz=0, REAL startX=0, REAL startY=0, REAL stepX=1, REAL stepY=1)
 
boolvec * surf_save_grd (const char *filename, const char *surface_name="*", int format=0)
 
boolvec * surf_save_gmt (const char *filename, const char *surface_name="*")
 
boolvec * surf_save_grass (const char *filename, const char *surface_name="*")
 
boolvec * surf_save_arcgis (const char *filename, const char *surface_name="*")
 
boolvec * surf_save_xyz (const char *filename, const char *surface_name="*")
 
boolvec * surf_save_jpg (const char *filename, const char *surface_name="*", int quality=255)
 
boolvec * surf_save_bmp (const char *filename, const char *surface_name="*")
 

Detailed Description

Function Documentation

boolvec* surfit::surf_load ( const char *  filename,
const char *  surfname = NULL 
)
Tcl syntax:
surf_load filename surfname
Description:
loads surface named "surfname" from surfit datafile. If no surfname specified, then loads first one.
Parameters
filenamesurfit datafile
surfnamename for surface (optional)
boolvec* surfit::surf_load_arcgis ( const char *  filename,
const char *  surfname = 0 
)
Tcl syntax:
surf_load_arcgis filename "surfname"
Description:
loads surface from ArcGIS ASCII file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_bmp ( const char *  filename,
const char *  surfname = 0,
REAL  minz = 0,
REAL  maxz = 0,
REAL  startX = 0,
REAL  startY = 0,
REAL  stepX = 1,
REAL  stepY = 1 
)
Tcl syntax:
surf_load_bmp filename "surfname"
Description:
loads surface from Windows bitmap file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_gmt ( const char *  filename,
const char *  surfname = 0 
)
Tcl syntax:
surf_load_gmt filename "surfname"
Description:
loads surface from Generic Mapping Tools grd file (CDF format)
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_grass ( const char *  filename,
const char *  surfname = 0 
)
Tcl syntax:
surf_load_grass filename "surfname"
Description:
loads surface from GRASS ASCII file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_grd ( const char *  filename,
const char *  surfname = 0 
)
Tcl syntax:
surf_load_grd filename "surfname"
Description:
loads surface from SURFER grd file (ASCII format)
Parameters
filenameSurfer grd file (ASCII format)
surfnamename for the surface (optional)
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_jpg ( const char *  filename,
const char *  surfname = 0,
REAL  minz = 0,
REAL  maxz = 0,
REAL  startX = 0,
REAL  startY = 0,
REAL  stepX = 1,
REAL  stepY = 1 
)
Tcl syntax:
surf_load_jpg filename "surfname"
Description:
loads surface from JPEG file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_load_xyz ( const char *  filename,
const char *  surfname = 0,
bool  force = false 
)
Tcl syntax:
surf_load_xyz filename "surfname"
Description:
loads surface from XYZ 3-column text file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_plot ( const char *  filename = NULL,
const char *  surface_name = "*",
size_t  number_of_levels = 16,
bool  draw_isos = true,
bool  draw_labels = true 
)
Tcl syntax:
surf_plot filename surface_name number_of_levels draw_isos draw_colorscale
Description:
plots surface to PostScript file
boolvec* surfit::surf_save ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save filename surface_name
Description:
saves surface to surfit datafile
boolvec* surfit::surf_save_arcgis ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save_arcgis "filename" surface_name
Description:
saves surface to ArcGIS ASCII file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_bmp ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save_bmp "filename" surface_name
Description:
saves surface to Windows BitMap file in grayscale colours
Parameters
filenamebitmap file
surface_namename of surface dataset
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_gmt ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save_gmt "filename" surface_name
Description:
saves surface to Generic Mapping Tools grd file (CDF format)
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_grass ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save_grass "filename" surface_name
Description:
saves surface to GRASS ASCII file
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_grd ( const char *  filename,
const char *  surface_name = "*",
int  format = 0 
)
Tcl syntax:
surf_save_grd "filename" surface_name format
Description:
saves surface to SURFER grd file
Parameters
filenameSURFER grd file
surface_namename of surface dataset
format0 - ascii, 1 - binary, 2 - Surfer7 binary
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_jpg ( const char *  filename,
const char *  surface_name = "*",
int  quality = 255 
)
Tcl syntax:
surf_save_jpg "filename" surface_name
Description:
saves surface to JPEG in grayscale colours
Parameters
filenamejpeg file
surface_namename of surface dataset
qualityjpeg quality 0..255
Implemented in library:
libsurfit_io
boolvec* surfit::surf_save_xyz ( const char *  filename,
const char *  surface_name = "*" 
)
Tcl syntax:
surf_save_xyz "filename" surface_name
Description:
saves surface to XYZ text format
Parameters
filenameXYZ text file
surface_namename of surface dataset
Implemented in library:
libsurfit_io



surfit: gridding and contouring software.