class GeometryTransformer: Any
Fields
Name | Description |
---|---|
var rotation: Option
|
|
var height: Option
|
|
var diameter: Option
|
|
val parameters: Roadspaces2CitygmlParameters
|
parameters for the geometry transformation, such as discretization step sizes |
Constructors
<init>
constructor(parameters: Roadspaces2CitygmlParameters)
Generates a surface based geometry representation for CityGML by visiting the geometry class.
Parameters
Name | Description |
---|---|
parameters: Roadspaces2CitygmlParameters
|
parameters for the geometry transformation, such as discretization step sizes |
Methods
getSolid
fun getSolid(): Option
Returns the result of the created solid geometry. If no solid geometry is available, an IllegalStateException is thrown.
ReturnValue
Name | Description |
---|---|
Option
|
getMultiSurface
fun getMultiSurface(): Option
Returns the result of the created multi surface geometry. If no multi surface geometry is available, an IllegalStateException is thrown.
ReturnValue
Name | Description |
---|---|
Option
|
getMultiCurve
fun getMultiCurve(): Option
Returns the result of the created multi curve geometry. If no multi curve geometry is available, an IllegalStateException is thrown.
ReturnValue
Name | Description |
---|---|
Option
|
getPoint
fun getPoint(): Option
Returns the result of the created point geometry. If no point geometry is available, an IllegalStateException is thrown.
ReturnValue
Name | Description |
---|---|
Option
|
getImplicitGeometry
fun getImplicitGeometry(): Option
Returns the result of the created implicit geometry. If no implicit geometry is available, an IllegalStateException is thrown.
ReturnValue
Name | Description |
---|---|
Option
|
getSolidCutoutOrSurface
fun getSolidCutoutOrSurface(vararg solidFaceSelection: FaceType): Option
Returns either a cutout of a solid geometry (if it exists) or a MultiSurfaceProperty itself (if it exists).
Parameters
ReturnValue
Name | Description |
---|---|
Option
|
cutout of a solid geometry or a MultiSurfaceProperty |
getSolidCutout
fun getSolidCutout(vararg faceSelection: FaceType): Option
Returns a single MultiSurfaceProperty constructed of a solid's polygons which have been filtered by FaceType.
ReturnValue
Name | Description |
---|---|
Option
|
MultiSurfaceProperty constructed of selected polygons from a solid geometry |
getIndividualSolidCutouts
fun getIndividualSolidCutouts(vararg faceSelection: FaceType): Option
Returns a list of individual MultiSurfaceProperty, whereas each is based on solid's polygon filtered by FaceType.
ReturnValue
Name | Description |
---|---|
Option
|
list of MultiSurfaceProperty, each constructed from an individual polygon of the solid geometry |
visit
fun visit(vector3D: Vector3D)
Parameters
Name | Description |
---|---|
vector3D: Vector3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(abstractCurve3D: AbstractCurve3D)
Parameters
Name | Description |
---|---|
abstractCurve3D: AbstractCurve3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(abstractSurface3D: AbstractSurface3D)
Parameters
Name | Description |
---|---|
abstractSurface3D: AbstractSurface3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(circle3D: Circle3D)
Parameters
Name | Description |
---|---|
circle3D: Circle3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(parametricBoundedSurface3D: ParametricBoundedSurface3D)
Parameters
Name | Description |
---|---|
parametricBoundedSurface3D: ParametricBoundedSurface3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(abstractSolid3D: AbstractSolid3D)
Parameters
Name | Description |
---|---|
abstractSolid3D: AbstractSolid3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(cylinder3D: Cylinder3D)
Parameters
Name | Description |
---|---|
cylinder3D: Cylinder3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(parametricSweep3D: ParametricSweep3D)
Parameters
Name | Description |
---|---|
parametricSweep3D: ParametricSweep3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
visit
fun visit(abstractGeometry3D: AbstractGeometry3D)
Parameters
Name | Description |
---|---|
abstractGeometry3D: AbstractGeometry3D
|
ReturnValue
Name | Description |
---|---|
Unit
|
CompanionObject
GeometryTransformer
class GeometryTransformer: Any
Generates a surface based geometry representation for CityGML by visiting the geometry class.
Methods
of
fun of(roadspaceObject: RoadspaceObject, parameters: Roadspaces2CitygmlParameters): GeometryTransformer
Parameters
Name | Description |
---|---|
roadspaceObject: RoadspaceObject
|
|
parameters: Roadspaces2CitygmlParameters
|
ReturnValue
Name | Description |
---|---|
GeometryTransformer
|
Generates a surface based geometry representation for CityGML by visiting the geometry class.