LuciadCPillar 2023.1.04
|
This class provides utility methods for Observable instance for Geometry. More...
#include <luciad/geometries/observable/ObservableGeometryUtil.h>
Public Member Functions | |
ObservableGeometryUtil ()=delete | |
Static Public Member Functions | |
static std::shared_ptr< Observable< std::shared_ptr< ArcBand > > > | deriveArcBand (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable ArcBand from the given observable geometry by casting the geometry instance to a ArcBand instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< BezierCurve > > > | deriveBezierCurve (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable BezierCurve from the given observable geometry by casting the geometry instance to a BezierCurve instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CircleBy3Points > > > | deriveCircleBy3Points (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CircleBy3Points from the given observable geometry by casting the geometry instance to a CircleBy3Points instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CircleByCenterPoint > > > | deriveCircleByCenterPoint (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CircleByCenterPoint from the given observable geometry by casting the geometry instance to a circle instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CircularArcBy3Points > > > | deriveCircularArcBy3Points (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CircularArcBy3Points from the given observable geometry by casting the geometry instance to a CircularArcBy3Points instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CircularArcByBulge > > > | deriveCircularArcByBulge (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CircularArcByBulge from the given observable geometry by casting the geometry instance to a CircularArcByBulge instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CircularArcByCenterPoint > > > | deriveCircularArcByCenterPoint (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CircularArcByCenterPoint from the given observable geometry by casting the geometry instance to a CircularArcByCenterPoint instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CompositeCurve > > > | deriveCompositeCurve (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CompositeCurve from the given observable geometry by casting the geometry instance to a CompositeCurve instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CompositePatch > > > | deriveCompositePatch (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CompositePatch from the given observable geometry by casting the geometry instance to a CompositePatch instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< CompositeRing > > > | deriveCompositeRing (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable CompositeRing from the given observable geometry by casting the geometry instance to a CompositeRing instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Curve > > > | deriveCurve (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Curve from the given observable geometry by casting the geometry instance to a Curve instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Ellipse > > > | deriveEllipse (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Ellipse from the given observable geometry by casting the geometry instance to an ellipse instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< EllipticalArc > > > | deriveEllipticalArc (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable EllipticalArc from the given observable geometry by casting the geometry instance to a EllipticalArc instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< ExtrudedGeometry > > > | deriveExtrudedGeometry (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable ExtrudedGeometry from the given observable geometry by casting the geometry instance to a ExtrudedGeometry instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Line > > > | deriveLine (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Line from the given observable geometry by casting the geometry instance to a Line instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< MultiGeometry > > > | deriveMultiGeometry (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable MultiGeometry from the given observable geometry by casting the geometry instance to a MultiGeometry instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Patch > > > | derivePatch (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Patch from the given observable geometry by casting the geometry instance to a patch instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Point > > > | derivePoint (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Point from the given observable geometry by casting the geometry instance to a point instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Polygon > > > | derivePolygon (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Polygon from the given observable geometry by casting the geometry instance to a Polygon instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Polyline > > > | derivePolyline (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Polyline from the given observable geometry by casting the geometry instance to a polyline instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< PolylineRing > > > | derivePolylineRing (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable PolylineRing from the given observable geometry by casting the geometry instance to a polyline ring instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Ring > > > | deriveRing (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Ring from the given observable geometry by casting the geometry instance to a Ring instance. More... | |
static std::shared_ptr< Observable< std::shared_ptr< Surface > > > | deriveSurface (const std::shared_ptr< Observable< std::shared_ptr< Geometry > > > &observableGeometry) |
Derives an Observable Surface from the given observable geometry by casting the geometry instance to a Surface instance. More... | |
This class provides utility methods for Observable instance for Geometry.
|
delete |
|
static |
Derives an Observable
ArcBand
from the given observable geometry by casting the geometry instance to a ArcBand
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
ArcBand
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the ArcBand |
|
static |
Derives an Observable
BezierCurve
from the given observable geometry by casting the geometry instance to a BezierCurve
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
BezierCurve
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the BezierCurve |
|
static |
Derives an Observable
CircleBy3Points
from the given observable geometry by casting the geometry instance to a CircleBy3Points
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CircleBy3Points
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CircleBy3Points |
|
static |
Derives an Observable
CircleByCenterPoint
from the given observable geometry by casting the geometry instance to a circle instance.
This observable circle will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable circle instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the circle |
|
static |
Derives an Observable
CircularArcBy3Points
from the given observable geometry by casting the geometry instance to a CircularArcBy3Points
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CircularArcBy3Points
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CircularArcBy3Points |
|
static |
Derives an Observable
CircularArcByBulge
from the given observable geometry by casting the geometry instance to a CircularArcByBulge
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CircularArcByBulge
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CircularArcByBulge |
|
static |
Derives an Observable
CircularArcByCenterPoint
from the given observable geometry by casting the geometry instance to a CircularArcByCenterPoint
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CircularArcByCenterPoint
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CircularArcByCenterPoint |
|
static |
Derives an Observable
CompositeCurve
from the given observable geometry by casting the geometry instance to a CompositeCurve
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CompositeCurve
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CompositeCurve |
|
static |
Derives an Observable
CompositePatch
from the given observable geometry by casting the geometry instance to a CompositePatch
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CompositePatch
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CompositePatch |
|
static |
Derives an Observable
CompositeRing
from the given observable geometry by casting the geometry instance to a CompositeRing
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
CompositeRing
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the CompositeRing |
|
static |
Derives an Observable
Curve
from the given observable geometry by casting the geometry instance to a Curve
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
Curve
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the Curve |
|
static |
Derives an Observable
Ellipse
from the given observable geometry by casting the geometry instance to an ellipse instance.
This observable ellipse will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable ellipse instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the ellipse |
|
static |
Derives an Observable
EllipticalArc
from the given observable geometry by casting the geometry instance to a EllipticalArc
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
EllipticalArc
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the EllipticalArc |
|
static |
Derives an Observable
ExtrudedGeometry
from the given observable geometry by casting the geometry instance to a ExtrudedGeometry
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
ExtrudedGeometry
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the ExtrudedGeometry |
|
static |
Derives an Observable
Line
from the given observable geometry by casting the geometry instance to a Line
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
Line
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the Line |
|
static |
Derives an Observable
MultiGeometry
from the given observable geometry by casting the geometry instance to a MultiGeometry
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
MultiGeometry
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the MultiGeometry |
|
static |
Derives an Observable
Patch
from the given observable geometry by casting the geometry instance to a patch instance.
This observable patch will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable patch instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the patch |
|
static |
Derives an Observable
Point
from the given observable geometry by casting the geometry instance to a point instance.
This observable point will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable point instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the point |
|
static |
Derives an Observable
Polygon
from the given observable geometry by casting the geometry instance to a Polygon
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
Polygon
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the Polygon |
|
static |
Derives an Observable
Polyline
from the given observable geometry by casting the geometry instance to a polyline instance.
This observable polyline will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable polyline instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the polyline |
|
static |
Derives an Observable
PolylineRing
from the given observable geometry by casting the geometry instance to a polyline ring instance.
This observable polyline ring will be updated when the given observable geometry changes.
Notes:
nullptr
value.nullptr
value, the observable polyline ring instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the polyline ring |
|
static |
Derives an Observable
Ring
from the given observable geometry by casting the geometry instance to a Ring
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
Ring
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the Ring |
|
static |
Derives an Observable
Surface
from the given observable geometry by casting the geometry instance to a Surface
instance.
This new observable will be updated when the given observable geometry changes.
Notes:
Surface
, the new observable instance will contain a nullptr
value.nullptr
value, the new observable instance will contain a nullptr
value too.Observable::setValue
will throw an exception for derived instances.observableGeometry | an observable geometry from which to derive the Surface |