Planar Partition R6 class

Planar Partition R6 class

Public fields

data

all info in list.

Methods

Public methods


Method new()

Create a new PlanarPartition.

Usage

.pp$new()

Arguments

user_agent

a character value, User agent

Returns

A new Configuration object.


Method add_sf()

Add a polygon or multiPolygon of class sf

Usage

.pp$add_sf(x, valid_each, quiet)

Arguments

x

object of class sf

valid_each

logical; skip the individual validation of each polygon, default to FALSE

quiet

logical; if TRUE the output are less verbose


Method n_polygons()

Get the number of polygon in the partitions

Usage

.pp$n_polygons()


Method build()

Build a planar partition

Usage

.pp$build(quiet = TRUE)

Arguments

quiet

logical; if TRUE the output are less verbose


Method destroy()

destroy partition

Usage

.pp$destroy()


Method print()

Print Configuration object

Usage

.pp$print()


Method clone()

The objects of this class are cloneable with this method.

Usage

.pp$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.