db.point2cell {RGeostats}R Documentation

Calculate Surface and Volume of the Voronoi of a set of isolated points

Description

Calculate Surface and Volume of the Voronoi of a set of isolated points

Usage

db.point2cell(db, dbgrid, option=0, name.size=NA, flag.plot = TRUE,
              flag.grid = TRUE, radix = "Point2Cell",
              modify.target = db.locmod(), ...)

Arguments

db

The db-class which contains the set of isolated points whose Voronoi must be determined

dbgrid

The db-class which contains the discretization grid where the Voronoi will be calculated. This Voronoi will serve to calculate the surface and perimeter of the Voronoi cells.

option

Type of structuring element or connectivity:

  • 0 : Cross (6-connectivity in 3-D)

  • 1 : Block (26-connectivity in 3-D)

name.size

Name of the variable which contains the thickness of the Voronoi polygon

flag.plot

When TRUE, the result of the Voronoi is displayed with the set of isolated points overlaid.

flag.grid

Defines the resulting argument:

  • When TRUE, the result is the db-class resulting Grid.

  • When FALSE, the result is the db-class which contains the set of isolated points.

radix

Radix of the name given to the output variable in any resulting file.

modify.target

Decides whether or not the newly created variables will have their locator defined or not. For more information, see db.locmod.

...

Arguments passed to db.plot function.

Value

The returned structure depends upon argument 'flag.grid'.


[Package RGeostats version 11.1.2 Index]