ISOGridSpatialRepresentation function

ISOGridSpatialRepresentation

ISOGridSpatialRepresentation

ISOGridSpatialRepresentation

ISOGridSpatialRepresentation class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO GridSpatialRepresentation

Examples

md <- ISOGridSpatialRepresentation$new() md$setNumberOfDimensions(1) dim1 <- ISODimension$new() dim1$setName("row") dim1$setSize(100) dim1$setResolution(ISOMeasure$new(value=1,uom="m")) md$addDimension(dim1) md$setCellGeometry("area") xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractSpatialRepresentation -> geometa::ISOSpatialRepresentation -> ISOGridSpatialRepresentation

Public fields

  • numberOfDimensions: numberOfDimensions [1..1]: integer

  • axisDimensionProperties: axisDimensionProperties [1..*] : ISODimension

  • cellGeometry: cellGeometry [1..1]: ISOCellGeometry

  • transformationParameterAvailability: transformationParameterAvailability : logical

Methods

Public methods

Method new()

Initializes object

Usage

ISOGridSpatialRepresentation$new(xml = NULL)

Arguments

  • xml: object of class XMLInternalNode-class

Method setNumberOfDimensions()

Set number of dimensions

Usage

ISOGridSpatialRepresentation$setNumberOfDimensions(numberOfDimensions)

Arguments

  • numberOfDimensions: object of class integer

Method addDimension()

Adds dimension

Usage

ISOGridSpatialRepresentation$addDimension(dimension)

Arguments

  • dimension: object of class ISODimension

Returns

TRUE if added, FALSE otherwise

Method delDimension()

Deletes dimension

Usage

ISOGridSpatialRepresentation$delDimension(dimension)

Arguments

  • dimension: object of class ISODimension

Returns

TRUE if deleted, FALSE otherwise

Method setCellGeometry()

Set cell geometry

Usage

ISOGridSpatialRepresentation$setCellGeometry(cellGeometry)

Arguments

  • cellGeometry: object of class ISOCellGeometry or any character

     among values returned by `ISOCellGeometry$values()`
    

Method setTransformationParameterAvailability()

Set transformation parameter availability

Usage

ISOGridSpatialRepresentation$setTransformationParameterAvailability(
  availability
)

Arguments

  • availability: object of class logical

Method clone()

The objects of this class are cloneable with this method.

Usage

ISOGridSpatialRepresentation$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29