Esempio n. 1
0
        public bool HitTest(Point worldPoint)
        {
            var localPoint = Transform.GetInverse().TransformPoint(worldPoint);

            return(Contains(localPoint));
        }
Esempio n. 2
0
 public double DistanceTo(Point worldPoint)
 {
     return(DistanceToLocal(Transform.GetInverse().TransformPoint(worldPoint)));
 }