ISOVectorSpatialRepresentation function

ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentation class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO VectorSpatialRepresentation

Examples

md <- ISOVectorSpatialRepresentation$new() md$setTopologyLevel("geometryOnly") geomObject1 <- ISOGeometricObjects$new() geomObject1$setGeometricObjectType("surface") geomObject1$setGeometricObjectCount(5L) md$addGeometricObjects(geomObject1) xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

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

Public fields

  • topologyLevel: topologyLevel [0..1]: ISOTopologyLevel

  • geometricObjects: geometricObjects [0..*]: ISOGeometricObjects

Methods

Public methods

Method new()

Initializes object

Usage

ISOVectorSpatialRepresentation$new(xml = NULL)

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.

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