Class TLcdKML22GXYRegionFilter

java.lang.Object
com.luciad.format.kml22.view.gxy.TLcdKML22GXYRegionFilter
All Implemented Interfaces:
ILcdKML22RegionFilter

public class TLcdKML22GXYRegionFilter extends Object implements ILcdKML22RegionFilter

A KML region filter for 2D views

This region filter will make use of model-to-view transformations, specific to 2D views, to calculate the activity of TLcdKML22Region instances

Since:
10.0
  • Constructor Details

    • TLcdKML22GXYRegionFilter

      public TLcdKML22GXYRegionFilter(ILcdGXYView aView)

      Creates a region filter with a given view

      Parameters:
      aView - the view for which to create a region filter
  • Method Details

    • getGXYView

      public ILcdGXYView getGXYView()
      Returns the view used by this region filter to calculate region activity.
      Returns:
      an ILcdGXYView
    • getRegionActivity

      public double getRegionActivity(TLcdKML22Region aRegion)
      Description copied from interface: ILcdKML22RegionFilter

      Calculates the activity of a region.

      Specified by:
      getRegionActivity in interface ILcdKML22RegionFilter
      Parameters:
      aRegion - The region of which to calculate the activity of.
      Returns:
      a double in the interval of [0.0d, 1.0d]. In this interval a value of 0.0 defines a non-active region, a value of (0.0d, 1.0d) defines a partially active region, while a value of 1.0d defines a fully active region.