Class ObservableGeometryUtil
Observable
instance for Geometry
.-
Method Summary
Modifier and TypeMethodDescriptionstatic Observable
<@Nullable ArcBand> deriveArcBand
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
ArcBand
from the given observable geometry by casting the geometry instance to aArcBand
instance.static Observable
<@Nullable BezierCurve> deriveBezierCurve
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
BezierCurve
from the given observable geometry by casting the geometry instance to aBezierCurve
instance.static Observable
<@Nullable CircleBy3Points> deriveCircleBy3Points
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CircleBy3Points
from the given observable geometry by casting the geometry instance to aCircleBy3Points
instance.static Observable
<@Nullable CircleByCenterPoint> deriveCircleByCenterPoint
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CircleByCenterPoint
from the given observable geometry by casting the geometry instance to a circle instance.static Observable
<@Nullable CircularArcBy3Points> deriveCircularArcBy3Points
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CircularArcBy3Points
from the given observable geometry by casting the geometry instance to aCircularArcBy3Points
instance.static Observable
<@Nullable CircularArcByBulge> deriveCircularArcByBulge
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CircularArcByBulge
from the given observable geometry by casting the geometry instance to aCircularArcByBulge
instance.static Observable
<@Nullable CircularArcByCenterPoint> deriveCircularArcByCenterPoint
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CircularArcByCenterPoint
from the given observable geometry by casting the geometry instance to aCircularArcByCenterPoint
instance.static Observable
<@Nullable CompositeCurve> deriveCompositeCurve
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CompositeCurve
from the given observable geometry by casting the geometry instance to aCompositeCurve
instance.static Observable
<@Nullable CompositePatch> deriveCompositePatch
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CompositePatch
from the given observable geometry by casting the geometry instance to aCompositePatch
instance.static Observable
<@Nullable CompositeRing> deriveCompositeRing
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
CompositeRing
from the given observable geometry by casting the geometry instance to aCompositeRing
instance.static Observable
<@Nullable Curve> deriveCurve
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Curve
from the given observable geometry by casting the geometry instance to aCurve
instance.static Observable
<@Nullable Ellipse> deriveEllipse
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Ellipse
from the given observable geometry by casting the geometry instance to an ellipse instance.static Observable
<@Nullable EllipticalArc> deriveEllipticalArc
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
EllipticalArc
from the given observable geometry by casting the geometry instance to aEllipticalArc
instance.static Observable
<@Nullable ExtrudedGeometry> deriveExtrudedGeometry
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
ExtrudedGeometry
from the given observable geometry by casting the geometry instance to aExtrudedGeometry
instance.static Observable
<@Nullable Line> deriveLine
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Line
from the given observable geometry by casting the geometry instance to aLine
instance.static Observable
<@Nullable MultiGeometry> deriveMultiGeometry
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
MultiGeometry
from the given observable geometry by casting the geometry instance to aMultiGeometry
instance.static Observable
<@Nullable Patch> derivePatch
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Patch
from the given observable geometry by casting the geometry instance to a patch instance.static Observable
<@Nullable Point> derivePoint
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Point
from the given observable geometry by casting the geometry instance to a point instance.static Observable
<@Nullable Polygon> derivePolygon
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Polygon
from the given observable geometry by casting the geometry instance to aPolygon
instance.static Observable
<@Nullable Polyline> derivePolyline
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Polyline
from the given observable geometry by casting the geometry instance to a polyline instance.static Observable
<@Nullable PolylineRing> derivePolylineRing
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
PolylineRing
from the given observable geometry by casting the geometry instance to a polyline ring instance.static Observable
<@Nullable Ring> deriveRing
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Ring
from the given observable geometry by casting the geometry instance to aRing
instance.static Observable
<@Nullable Surface> deriveSurface
(Observable<@Nullable Geometry> observableGeometry) Derives anObservable
Surface
from the given observable geometry by casting the geometry instance to aSurface
instance.
-
Method Details
-
derivePoint
@NotNull public static Observable<@Nullable Point> derivePoint(@NotNull Observable<@Nullable Geometry> observableGeometry) Derives anObservable
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:
- When the observable geometry can not be cast to a point, the observable point instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable point instance will contain anull
value too. Observable#setValue
will 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 anObservable
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:
- When the observable geometry can not be cast to a polyline, the observable polyline instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable polyline instance will contain anull
value too. Observable#setValue
will 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 anObservable
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:
- When the observable geometry can not be cast to a polyline ring, the observable polyline ring instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable polyline ring instance will contain anull
value too. Observable#setValue
will 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 anObservable
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:
- When the observable geometry can not be cast to a patch, the observable patch instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable patch instance will contain anull
value too. Observable#setValue
will 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 anObservable
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:
- When the observable geometry can not be cast to a ellipse, the observable ellipse instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable ellipse instance will contain anull
value too. Observable#setValue
will 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 anObservable
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:
- When the observable geometry can not be cast to a circle, the observable circle instance will contain a
null
value. - When the observable geometry contains a
null
value, the observable circle instance will contain anull
value too. Observable#setValue
will 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 anObservable
ArcBand
from the given observable geometry by casting the geometry instance to aArcBand
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
BezierCurve
from the given observable geometry by casting the geometry instance to aBezierCurve
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CircleBy3Points
from the given observable geometry by casting the geometry instance to aCircleBy3Points
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CircularArcBy3Points
from the given observable geometry by casting the geometry instance to aCircularArcBy3Points
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CircularArcByBulge
from the given observable geometry by casting the geometry instance to aCircularArcByBulge
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CircularArcByCenterPoint
from the given observable geometry by casting the geometry instance to aCircularArcByCenterPoint
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
EllipticalArc
from the given observable geometry by casting the geometry instance to aEllipticalArc
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
Line
from the given observable geometry by casting the geometry instance to aLine
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
Polygon
from the given observable geometry by casting the geometry instance to aPolygon
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CompositeCurve
from the given observable geometry by casting the geometry instance to aCompositeCurve
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CompositePatch
from the given observable geometry by casting the geometry instance to aCompositePatch
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
CompositeRing
from the given observable geometry by casting the geometry instance to aCompositeRing
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
Curve
from the given observable geometry by casting the geometry instance to aCurve
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
ExtrudedGeometry
from the given observable geometry by casting the geometry instance to aExtrudedGeometry
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
MultiGeometry
from the given observable geometry by casting the geometry instance to aMultiGeometry
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
Ring
from the given observable geometry by casting the geometry instance to aRing
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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 anObservable
Surface
from the given observable geometry by casting the geometry instance to aSurface
instance.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 anull
value. - When the observable geometry contains a
null
value, the new observable instance will contain anull
value too. Observable#setValue
will 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
-