Class ObservableArcBandUtil

java.lang.Object
com.luciad.geometries.observable.ObservableArcBandUtil

public final class ObservableArcBandUtil extends Object
This class provides utility methods for Observable instance for ArcBand.
Since:
2025.0
  • Method Details

    • deriveCenter

      @NotNull public static Observable<@Nullable Point> deriveCenter(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Point from the given observable arc band that represents the center point.

      This observable point will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable center point instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the center
      Returns:
      a derived Observable
    • deriveMaximumRadiusArc

      @NotNull public static Observable<@Nullable Geometry> deriveMaximumRadiusArc(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Geometry from the given observable arc band that represents the maximum radius arc.

      This observable will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable maximum radius arc instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the maximum radius arc
      Returns:
      a derived Observable
    • deriveMinimumRadiusArc

      @NotNull public static Observable<@Nullable Geometry> deriveMinimumRadiusArc(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Geometry from the given observable arc band that represents the minimum radius arc.

      This observable will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable minimum radius arc instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the minimum radius arc
      Returns:
      a derived Observable
    • deriveStartAngleLineSegment

      @NotNull public static Observable<@Nullable Geometry> deriveStartAngleLineSegment(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Geometry from the given observable arc band that represents the line segment at the start angle.

      This observable will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable start angle line segment instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the start angle line segment
      Returns:
      a derived observable
    • deriveEndAngleLineSegment

      @NotNull public static Observable<@Nullable Geometry> deriveEndAngleLineSegment(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Geometry from the given observable arc band that represents the line segment at the end angle.

      This observable will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable end angle line segment instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the end angle line segment
      Returns:
      a derived observable
    • deriveStartAnglePointAtMinimumRadius

      @NotNull public static Observable<@Nullable Point> deriveStartAnglePointAtMinimumRadius(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Point from the given observable arc band that represents a point at the minimum radius at the start angle.

      This observable point will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable center point instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the point at the minimum radius at the start angle
      Returns:
      a derived Observable
    • deriveStartAnglePointAtMaximumRadius

      @NotNull public static Observable<@Nullable Point> deriveStartAnglePointAtMaximumRadius(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Point from the given observable arc band that represents a point at the maximum radius at the start angle.

      This observable point will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable center point instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the point at the maximum radius at the start angle
      Returns:
      a derived Observable
    • deriveEndAnglePointAtMinimumRadius

      @NotNull public static Observable<@Nullable Point> deriveEndAnglePointAtMinimumRadius(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Point from the given observable arc band that represents a point at the minimum radius at the end angle.

      This observable point will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable center point instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the point at the minimum radius at the end angle
      Returns:
      a derived Observable
    • deriveEndAnglePointAtMaximumRadius

      @NotNull public static Observable<@Nullable Point> deriveEndAnglePointAtMaximumRadius(@NotNull Observable<@Nullable ArcBand> observableArcBand)
      Derives an Observable Point from the given observable arc band that represents a point at the maximum radius at the end angle.

      This observable point will be updated when the given observable arc band changes.

      Notes:

      • When the observable arc band contains a null value, the observable center point instance will contain a null value too.
      • Observable#setValue will throw an exception for derived instances.
      Parameters:
      observableArcBand - an observable arc band from which to derive the point at the maximum radius at the end angle
      Returns:
      a derived Observable