ISODimension

ISODimension

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Dimension

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISODimension

Public fields

dimensionName

dimensionName [1..1]: ISODimensionNameType

dimensionSize

dimensionSize [1..1]: integer

resolution

resolution [0..1]: ISOMeasure or subclass

Methods

Inherited methods


Method new()

Initializes object

Usage

ISODimension$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setName()

Set name

Usage

ISODimension$setName(name)

Arguments

name

object of class ISODimensionNameType or any character among values returned by ISODimensionNameType$values()


Method setSize()

Set size

Usage

ISODimension$setSize(size)

Arguments

size

object of class integer


Method setResolution()

Sets the resolution

Usage

ISODimension$setResolution(resolution)

Arguments

resolution

object of class ISOMeasure or any subclass ISOLength, ISODistance, ISOAngle, ISOScale


Method clone()

The objects of this class are cloneable with this method.

Usage

ISODimension$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   #create dimension
   md <- ISODimension$new()
   md$setName("row")
   md$setSize(1)
   md$setResolution(ISOLength$new(value=1,uom="m"))
   xml <- md$encode()
#> [geometa][INFO] Object 'ISODimension' is VALID according to ISO 19139 XML schemas!