Class MarkDataMatcher

java.lang.Object
PamView.paneloverlay.overlaymark.MarkDataMatcher

public class MarkDataMatcher extends Object
  • Constructor Details

  • Method Details

    • matchDataUnit

      public boolean matchDataUnit(HoverData hoverData)
    • isContained

      public boolean isContained(HoverData hoverData)
      The point is contained within the mark.
      Parameters:
      hoverData - date describing what was drawn.
      Returns:
      true if the central point is within the mark.
    • bearingOverlap

      public boolean bearingOverlap(HoverData hoverData)
      Does a bearing line to the point from the detection origin overlap the mark. Implicit assumption before calling this that the data are on a map !
      Returns:
      true if the line crosses part of the mark.