Interface IFeatureOrientationProvider


public interface IFeatureOrientationProvider
This class can be used to compute or retrieve the orientation associated with a given Feature.

You can use this orientation to style a given feature in the context of parameterized feature styling.

Note that the orientation associated with a feature is optional. If present, it is returned as an Azimuth, that is, an angle in degrees, clockwise from north/up/Y-axis. If absent, the feature is considered non-oriented.

Since:
2025.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Computes or retrieves the orientation for a given feature.
  • Method Details

    • getOrientation

      @Nullable Azimuth getOrientation(@NotNull Feature feature)
      Computes or retrieves the orientation for a given feature.
      Parameters:
      feature - the feature for which the orientation should be computed or retrieved.
      Returns:
      the orientation associated with the feature as an Azimuth, or null if the feature is not oriented.