Class ObservableGeometryUtil
Observable instance for Geometry.-
Method Summary
Modifier and TypeMethodDescriptionstatic Observable<@Nullable ArcBand> deriveArcBand(Observable<@Nullable Geometry> observableGeometry) Derives anObservableArcBandfrom the given observable geometry by casting the geometry instance to aArcBandinstance.static Observable<@Nullable BezierCurve> deriveBezierCurve(Observable<@Nullable Geometry> observableGeometry) Derives anObservableBezierCurvefrom the given observable geometry by casting the geometry instance to aBezierCurveinstance.static Observable<@Nullable CircleBy3Points> deriveCircleBy3Points(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircleBy3Pointsfrom the given observable geometry by casting the geometry instance to aCircleBy3Pointsinstance.static Observable<@Nullable CircleByCenterPoint> deriveCircleByCenterPoint(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircleByCenterPointfrom the given observable geometry by casting the geometry instance to a circle instance.static Observable<@Nullable CircularArcBy3Points> deriveCircularArcBy3Points(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcBy3Pointsfrom the given observable geometry by casting the geometry instance to aCircularArcBy3Pointsinstance.static Observable<@Nullable CircularArcByBulge> deriveCircularArcByBulge(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcByBulgefrom the given observable geometry by casting the geometry instance to aCircularArcByBulgeinstance.static Observable<@Nullable CircularArcByCenterPoint> deriveCircularArcByCenterPoint(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcByCenterPointfrom the given observable geometry by casting the geometry instance to aCircularArcByCenterPointinstance.static Observable<@Nullable CompositeCurve> deriveCompositeCurve(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositeCurvefrom the given observable geometry by casting the geometry instance to aCompositeCurveinstance.static Observable<@Nullable CompositePatch> deriveCompositePatch(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositePatchfrom the given observable geometry by casting the geometry instance to aCompositePatchinstance.static Observable<@Nullable CompositeRing> deriveCompositeRing(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositeRingfrom the given observable geometry by casting the geometry instance to aCompositeRinginstance.static Observable<@Nullable Curve> deriveCurve(Observable<@Nullable Geometry> observableGeometry) Derives anObservableCurvefrom the given observable geometry by casting the geometry instance to aCurveinstance.static Observable<@Nullable Ellipse> deriveEllipse(Observable<@Nullable Geometry> observableGeometry) Derives anObservableEllipsefrom the given observable geometry by casting the geometry instance to an ellipse instance.static Observable<@Nullable EllipticalArc> deriveEllipticalArc(Observable<@Nullable Geometry> observableGeometry) Derives anObservableEllipticalArcfrom the given observable geometry by casting the geometry instance to aEllipticalArcinstance.static Observable<@Nullable ExtrudedGeometry> deriveExtrudedGeometry(Observable<@Nullable Geometry> observableGeometry) Derives anObservableExtrudedGeometryfrom the given observable geometry by casting the geometry instance to aExtrudedGeometryinstance.static Observable<@Nullable Line> deriveLine(Observable<@Nullable Geometry> observableGeometry) Derives anObservableLinefrom the given observable geometry by casting the geometry instance to aLineinstance.static Observable<@Nullable MultiGeometry> deriveMultiGeometry(Observable<@Nullable Geometry> observableGeometry) Derives anObservableMultiGeometryfrom the given observable geometry by casting the geometry instance to aMultiGeometryinstance.static Observable<@Nullable Patch> derivePatch(Observable<@Nullable Geometry> observableGeometry) Derives anObservablePatchfrom the given observable geometry by casting the geometry instance to a patch instance.static Observable<@Nullable Point> derivePoint(Observable<@Nullable Geometry> observableGeometry) Derives anObservablePointfrom the given observable geometry by casting the geometry instance to a point instance.static Observable<@Nullable Polygon> derivePolygon(Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolygonfrom the given observable geometry by casting the geometry instance to aPolygoninstance.static Observable<@Nullable Polyline> derivePolyline(Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolylinefrom the given observable geometry by casting the geometry instance to a polyline instance.static Observable<@Nullable PolylineRing> derivePolylineRing(Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolylineRingfrom the given observable geometry by casting the geometry instance to a polyline ring instance.static Observable<@Nullable Ring> deriveRing(Observable<@Nullable Geometry> observableGeometry) Derives anObservableRingfrom the given observable geometry by casting the geometry instance to aRinginstance.static Observable<@Nullable Surface> deriveSurface(Observable<@Nullable Geometry> observableGeometry) Derives anObservableSurfacefrom the given observable geometry by casting the geometry instance to aSurfaceinstance.
-
Method Details
-
derivePoint
@NotNull public static Observable<@Nullable Point> derivePoint(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservablePointfrom 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:
- When the observable geometry can not be cast to a point, the observable point instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable point instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the point- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a point, the observable point instance will contain a
-
derivePolyline
@NotNull public static Observable<@Nullable Polyline> derivePolyline(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolylinefrom 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:
- When the observable geometry can not be cast to a polyline, the observable polyline instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable polyline instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the polyline- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a polyline, the observable polyline instance will contain a
-
derivePolylineRing
@NotNull public static Observable<@Nullable PolylineRing> derivePolylineRing(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolylineRingfrom 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:
- When the observable geometry can not be cast to a polyline ring, the observable polyline ring instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable polyline ring instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the polyline ring- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a polyline ring, the observable polyline ring instance will contain a
-
derivePatch
@NotNull public static Observable<@Nullable Patch> derivePatch(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservablePatchfrom 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:
- When the observable geometry can not be cast to a patch, the observable patch instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable patch instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the patch- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a patch, the observable patch instance will contain a
-
deriveEllipse
@NotNull public static Observable<@Nullable Ellipse> deriveEllipse(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableEllipsefrom 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:
- When the observable geometry can not be cast to a ellipse, the observable ellipse instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable ellipse instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the ellipse- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a ellipse, the observable ellipse instance will contain a
-
deriveCircleByCenterPoint
@NotNull public static Observable<@Nullable CircleByCenterPoint> deriveCircleByCenterPoint(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircleByCenterPointfrom 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:
- When the observable geometry can not be cast to a circle, the observable circle instance will contain a
nullvalue. - When the observable geometry contains a
nullvalue, the observable circle instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive the circle- Returns:
- a derived
Observable
- When the observable geometry can not be cast to a circle, the observable circle instance will contain a
-
deriveArcBand
@NotNull public static Observable<@Nullable ArcBand> deriveArcBand(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableArcBandfrom the given observable geometry by casting the geometry instance to aArcBandinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
ArcBand, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theArcBand- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveBezierCurve
@NotNull public static Observable<@Nullable BezierCurve> deriveBezierCurve(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableBezierCurvefrom the given observable geometry by casting the geometry instance to aBezierCurveinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
BezierCurve, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theBezierCurve- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCircleBy3Points
@NotNull public static Observable<@Nullable CircleBy3Points> deriveCircleBy3Points(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircleBy3Pointsfrom the given observable geometry by casting the geometry instance to aCircleBy3Pointsinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CircleBy3Points, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCircleBy3Points- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCircularArcBy3Points
@NotNull public static Observable<@Nullable CircularArcBy3Points> deriveCircularArcBy3Points(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcBy3Pointsfrom the given observable geometry by casting the geometry instance to aCircularArcBy3Pointsinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CircularArcBy3Points, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCircularArcBy3Points- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCircularArcByBulge
@NotNull public static Observable<@Nullable CircularArcByBulge> deriveCircularArcByBulge(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcByBulgefrom the given observable geometry by casting the geometry instance to aCircularArcByBulgeinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CircularArcByBulge, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCircularArcByBulge- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCircularArcByCenterPoint
@NotNull public static Observable<@Nullable CircularArcByCenterPoint> deriveCircularArcByCenterPoint(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCircularArcByCenterPointfrom the given observable geometry by casting the geometry instance to aCircularArcByCenterPointinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CircularArcByCenterPoint, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCircularArcByCenterPoint- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveEllipticalArc
@NotNull public static Observable<@Nullable EllipticalArc> deriveEllipticalArc(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableEllipticalArcfrom the given observable geometry by casting the geometry instance to aEllipticalArcinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
EllipticalArc, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theEllipticalArc- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveLine
@NotNull public static Observable<@Nullable Line> deriveLine(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableLinefrom the given observable geometry by casting the geometry instance to aLineinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
Line, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theLine- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
derivePolygon
@NotNull public static Observable<@Nullable Polygon> derivePolygon(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservablePolygonfrom the given observable geometry by casting the geometry instance to aPolygoninstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
Polygon, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive thePolygon- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCompositeCurve
@NotNull public static Observable<@Nullable CompositeCurve> deriveCompositeCurve(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositeCurvefrom the given observable geometry by casting the geometry instance to aCompositeCurveinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CompositeCurve, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCompositeCurve- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCompositePatch
@NotNull public static Observable<@Nullable CompositePatch> deriveCompositePatch(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositePatchfrom the given observable geometry by casting the geometry instance to aCompositePatchinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CompositePatch, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCompositePatch- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCompositeRing
@NotNull public static Observable<@Nullable CompositeRing> deriveCompositeRing(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCompositeRingfrom the given observable geometry by casting the geometry instance to aCompositeRinginstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
CompositeRing, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCompositeRing- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveCurve
@NotNull public static Observable<@Nullable Curve> deriveCurve(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableCurvefrom the given observable geometry by casting the geometry instance to aCurveinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
Curve, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theCurve- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveExtrudedGeometry
@NotNull public static Observable<@Nullable ExtrudedGeometry> deriveExtrudedGeometry(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableExtrudedGeometryfrom the given observable geometry by casting the geometry instance to aExtrudedGeometryinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
ExtrudedGeometry, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theExtrudedGeometry- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveMultiGeometry
@NotNull public static Observable<@Nullable MultiGeometry> deriveMultiGeometry(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableMultiGeometryfrom the given observable geometry by casting the geometry instance to aMultiGeometryinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
MultiGeometry, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theMultiGeometry- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveRing
@NotNull public static Observable<@Nullable Ring> deriveRing(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableRingfrom the given observable geometry by casting the geometry instance to aRinginstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
Ring, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theRing- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-
deriveSurface
@NotNull public static Observable<@Nullable Surface> deriveSurface(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservableSurfacefrom the given observable geometry by casting the geometry instance to aSurfaceinstance.This new observable will be updated when the given observable geometry changes.
Notes:
- When the observable geometry can not be cast to a
Surface, the new observable instance will contain anullvalue. - When the observable geometry contains a
nullvalue, the new observable instance will contain anullvalue too. Observable#setValuewill throw an exception for derived instances.
- Parameters:
observableGeometry- an observable geometry from which to derive theSurface- Returns:
- a derived
Observable - Since:
- 2023.1.02
- When the observable geometry can not be cast to a
-