Package PamView.paneloverlay.overlaymark
Class MarkDataMatcher
java.lang.Object
PamView.paneloverlay.overlaymark.MarkDataMatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bearingOverlap
(HoverData hoverData) Does a bearing line to the point from the detection origin overlap the mark.boolean
isContained
(HoverData hoverData) The point is contained within the mark.boolean
matchDataUnit
(HoverData hoverData)
-
Constructor Details
-
MarkDataMatcher
- Parameters:
overlayMark
-projector
-
-
-
Method Details
-
matchDataUnit
-
isContained
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
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.
-