[Statistics] Filter planar figures in data selection by control point position
Summary: So far, to check if a planar figure can be selected together with an image, only the tilt of the plane was considered. This could lead to unexpected behavior / crashes when a planar figure is not tilted, but extends to outside of the image (see T30258). I added a check to ensure all control points of the planar figure must lie inside the selected image geometry. Fixes T30258
Test Plan: See T30258. Load multiple images with different geometries and draw some planar figures (especially lines) on them / between them. Image / Planar Figure pairs should only be selectable in the Statistics view (via either selection method) if the figure is actually on that image.
Reviewers: O1 MITK Reviewer Group I, kislinsk, floca
Reviewed By: O1 MITK Reviewer Group I, kislinsk, floca
Subscribers: floca
Maniphest Tasks: T30258
Differential Revision: https://phabricator.mitk.org/D887