Class ObservableFeatureUtil

java.lang.Object
com.luciad.models.features.ObservableFeatureUtil

public final class ObservableFeatureUtil extends Object
This class provides utility methods for Observable instance for Feature.
  • Method Details Link icon

    • deriveGeometry Link icon

      @NotNull public static Observable<@Nullable Geometry> deriveGeometry(@NotNull Observable<@NotNull Feature> observableFeature, @NotNull IFeatureGeometryProvider geometryProvider) throws NullPointerException
      Derives an Observable Geometry from the given observable feature.

      This observable geometry will be updated when the given observable feature is updated.

      Notes:

      Parameters:
      observableFeature - an observable feature from which to derive a geometry. Cannot be null.
      geometryProvider - the geometry provider used to extract a geometry from the feature. This provider is used initially, and when the given ObservableFeature changes. Cannot be null.
      Returns:
      a derived Observable
      Throws:
      NullPointerException - when passing null values.