Class MarkDataMatcher

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

public class MarkDataMatcher extends Object
  • Constructor Details Link icon

  • Method Details Link icon

    • matchDataUnit Link icon

      public boolean matchDataUnit(HoverData hoverData)
    • isContained Link icon

      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 Link icon

      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.