ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentation

Format

R6Class object.

Value

Object of R6Class for modelling an ISO VectorSpatialRepresentation

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

topologyLevel

topologyLevel [0..1]: ISOTopologyLevel

geometricObjects

geometricObjects [0..*]: ISOGeometricObjects

Methods

Inherited methods


Method new()

Initializes object

Usage

Arguments

xml

object of class XMLInternalNode-class


Method setTopologyLevel()

Set topology level

Usage

ISOVectorSpatialRepresentation$setTopologyLevel(topologyLevel)

Arguments

topologyLevel

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


Method addGeometricObjects()

Adds geometric objects

Usage

ISOVectorSpatialRepresentation$addGeometricObjects(geometricObjects)

Arguments

geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if added, FALSE otherwise


Method setGeometricObjects()

Set geometric objects

Usage

ISOVectorSpatialRepresentation$setGeometricObjects(geometricObjects)

Arguments

geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if set, FALSE otherwise


Method delGeometricObjects()

Deletes geometric objects

Usage

ISOVectorSpatialRepresentation$delGeometricObjects(geometricObjects)

Arguments

geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOVectorSpatialRepresentation$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOVectorSpatialRepresentation$new()
#> Error in super$initialize(xml, defaults = defaults): unused argument (defaults = defaults)
  md$setTopologyLevel("geometryOnly")
#> Error: object 'md' not found
  geomObject1 <- ISOGeometricObjects$new()
  geomObject1$setGeometricObjectType("surface")
  geomObject1$setGeometricObjectCount(5L)
  md$addGeometricObjects(geomObject1)
#> Error: object 'md' not found
  xml <- md$encode()
#> Error: object 'md' not found