Beispiel #1
0
 public bool FindHeaderIntersectsFullRiskArea(Point p)
 {
     return(ExtensionRobotService.IsInPolygon(FullRiskArea(), p));
 }
Beispiel #2
0
 public bool FindHeaderIntersectsRiskAreaRightSide(Point p)
 {
     return(ExtensionRobotService.IsInPolygon(RiskAreaRightSide(), p));
 }
Beispiel #3
0
 public bool FindHeaderIsCloseRiskArea(Point p)
 {
     return(ExtensionRobotService.CalDistance(TopHeader(), p) < properties.distanceIntersection || ExtensionRobotService.CalDistance(BottomHeader(), p) < properties.distanceIntersection || ExtensionRobotService.CalDistance(MiddleHeader(), p) < properties.distanceIntersection ? true:false);
 }