Exemplo n.º 1
0
 static extern bool _MAPolylineHitTest(MAMapPoint linePoints, nuint count, MAMapPoint tappedPoint, nfloat lineWidth);
Exemplo n.º 2
0
 public static bool MAPolylineHitTest(MAMapPoint linePoints, nuint count, MAMapPoint tappedPoint, nfloat lineWidth)
 {
     return(_MAPolylineHitTest(linePoints, count, tappedPoint, lineWidth));
 }
Exemplo n.º 3
0
 //[Verify(PlatformInvoke)]
 static extern double MAGetDistanceFromPointToLine(MAMapPoint point, MAMapPoint lineBegin, MAMapPoint lineEnd);
Exemplo n.º 4
0
 public static double MAMetersBetweenMapPoints(MAMapPoint a, MAMapPoint b)
 {
     return(_MAMetersBetweenMapPoints(a, b));
 }
Exemplo n.º 5
0
 //[Verify(PlatformInvoke)]
 static extern MAMapPoint MAGetNearestMapPointFromLine(MAMapPoint lineStart, MAMapPoint lineEnd, MAMapPoint point);
Exemplo n.º 6
0
 //[Verify(PlatformInvoke)]
 static extern NSString MAStringFromMapPoint(MAMapPoint point);
Exemplo n.º 7
0
 public static bool MAPolygonContainsPoint(MAMapPoint point, MAMapPoint polygon, nuint count)
 {
     return(_MAPolygonContainsPoint(point, polygon, count));
 }
Exemplo n.º 8
0
 //[Verify(PlatformInvoke)]
 static extern bool MACircleContainsPoint(MAMapPoint point, MAMapPoint center, double radius);
Exemplo n.º 9
0
 public static MAMapPoint MAGetNearestMapPointFromPolyline(MAMapPoint point, MAMapPoint polyline, nuint count)
 {
     return(_MAGetNearestMapPointFromPolyline(point, polyline, count));
 }
Exemplo n.º 10
0
 static extern bool _MAPolygonContainsPoint(MAMapPoint point, MAMapPoint polygon, nuint count);
Exemplo n.º 11
0
 static extern MAMapPoint _MAGetNearestMapPointFromPolyline(MAMapPoint point, MAMapPoint polyline, nuint count);
Exemplo n.º 12
0
 public static bool MACircleContainsPoint(MAMapPoint point, MAMapPoint center, double radius)
 {
     return(_MACircleContainsPoint(point, center, radius));
 }
Exemplo n.º 13
0
 public static bool MAMapRectContainsPoint(MAMapRect rect, MAMapPoint point)
 {
     return(_MAMapRectContainsPoint(rect, point));
 }
Exemplo n.º 14
0
 //[Verify(PlatformInvoke)]
 static extern double MAMetersBetweenMapPoints(MAMapPoint a, MAMapPoint b);
Exemplo n.º 15
0
 public static MAMapPoint MAGetNearestMapPointFromLine(MAMapPoint lineStart, MAMapPoint lineEnd, MAMapPoint point)
 {
     return(_MAGetNearestMapPointFromLine(lineStart, lineEnd, point));
 }
Exemplo n.º 16
0
 //[Verify(PlatformInvoke)]
 static extern bool MAMapRectContainsPoint(MAMapRect rect, MAMapPoint point);
Exemplo n.º 17
0
 // BOOL MAMapPointEqualToPoint (MAMapPoint point1, MAMapPoint point2);
 //[DllImport("__Internal",EntryPoint = "MAMapPointEqualToPoint")]
 //static extern bool _MAMapPointEqualToPoint(MAMapPoint point1, MAMapPoint point2);
 ////
 public static bool MAMapPointEqualToPoint(MAMapPoint point1, MAMapPoint point2)
 {
     return(point1.x == point2.x && point1.y == point2.y);
 }
Exemplo n.º 18
0
 //[Verify(PlatformInvoke)]
 static extern unsafe bool MAPolygonContainsPoint(MAMapPoint point, MAMapPoint polygon, int count);
Exemplo n.º 19
0
 // NSString * MAStringFromMapPoint (MAMapPoint point);
 //[DllImport("__Internal",EntryPoint = "MAStringFromMapPoint")]
 //static extern NSString _MAStringFromMapPoint(MAMapPoint point);
 ////
 public static string MAStringFromMapPoint(MAMapPoint point)
 {
     return(string.Format(@"{%.1f, %.1f}", point.x, point.y));
 }
Exemplo n.º 20
0
 //[Verify(PlatformInvoke)]
 static extern bool MAMapPointEqualToPoint(MAMapPoint point1, MAMapPoint point2);
Exemplo n.º 21
0
 public static double MAGetDirectionFromPoints(MAMapPoint fromPoint, MAMapPoint toPoint)
 {
     return(_MAGetDirectionFromPoints(fromPoint, toPoint));
 }
Exemplo n.º 22
0
 //[Verify(PlatformInvoke)]
 static extern double MAGetDirectionFromPoints(MAMapPoint fromPoint, MAMapPoint toPoint);
Exemplo n.º 23
0
 public static double MAGetDistanceFromPointToLine(MAMapPoint point, MAMapPoint lineBegin, MAMapPoint lineEnd)
 {
     return(_MAGetDistanceFromPointToLine(point, lineBegin, lineEnd));
 }
Exemplo n.º 24
0
 //[Verify(PlatformInvoke)]
 static extern CLLocationCoordinate2D MACoordinateForMapPoint(MAMapPoint mapPoint);
Exemplo n.º 25
0
 public static CLLocationCoordinate2D MACoordinateForMapPoint(MAMapPoint mapPoint)
 {
     return(_MACoordinateForMapPoint(mapPoint));
 }