meshing {RGeostats}  R Documentation 
Perform Delaunay triangulation
meshing(db=NA, dbaux=NA, triswitch = "Q", gext=NA, verbose = FALSE, flag.plot=TRUE, ...)
db 
First 
dbaux 
Auxilary 
triswitch 
Command line which may contain the following keywords:

gext 
When 'dbaux' is organized as a grid, it may be dilated by gext. This argument designates an array, with its dimension equal to the dimension of the space and which contains the extension defined in number of grid nodes. 
verbose 
Verbose flag 
flag.plot 
When TRUE, the constraining vertices, holes and segments are represented. The created trinagles are also represented. 
... 
Arguments passed for graphic function such as 
A list with the following contents:
points Matrix of Network vertices (Dimension: nrow=npoint * ncol=ndim)
meshes Matrix of Vertex indices for each mesh of the Network (Dimension: nrow=nmesh * ncol=ncorner)
dupl.data Indices of the data samples close to a grid node
dupl.grid Indices of the target points close to a data sample
Note that the following parameters can be indirectly accessed (they have been suppressed from the output list):
ndim Space dimension. Obtained as dim(points)[2]
npoint Number of Vertices in Network. Obtained as dim(points)[1]
ncorner Number of corners in each meshing element. Obtained as dim(meshes)[2]
nmesh Number of meshes in the Network. Obtained as dim(meshes)[1]
# Load the Data Set from Jonathan Richard Shewchuk web site. rg.load("Demo.double.hex.db","tri.db") # Perform the basic triangulation # res = meshing(db=tri.db,triswitch="Q") # Perform the triangulation with surface constraint # res = meshing(db=tri.db,triswitch="Qa0.005") # Remove file rm(tri.db, tri.res)