//[Verify (PlatformInvoke)] public static extern double BMKMetersBetweenMapPoints(BMKMapPoint a, BMKMapPoint b);
//[Verify (PlatformInvoke)] public static extern unsafe BMKMapPoint BMKGetNearestMapPointFromPolyline(BMKMapPoint point, BMKMapPoint *polyline, nuint count);
//[Verify (PlatformInvoke)] public static extern CLLocationCoordinate2D BMKCoordinateForMapPoint(BMKMapPoint mapPoint);
//[Verify (PlatformInvoke)] public static extern unsafe bool BMKPolygonContainsPoint(BMKMapPoint point, BMKMapPoint *polygon, nuint count);
//[Verify (PlatformInvoke)] public static extern bool BMKCircleContainsPoint(BMKMapPoint point, BMKMapPoint center, double radius);
//[Verify (PlatformInvoke)] public static extern bool BMKMapRectContainsPoint(BMKMapRect rect, BMKMapPoint point);
// NSString * BMKStringFromMapPoint (BMKMapPoint point); //[DllImport ("__Internal")] //[Verify (PlatformInvoke)] //static extern NSString BMKStringFromMapPoint (BMKMapPoint point); public static string BMKStringFromMapPoint(BMKMapPoint point) { // "{%.1f, %.1f}" return($"{{point.x:f1, {point.y:f1}}}"); }
// BOOL BMKMapPointEqualToPoint (BMKMapPoint point1, BMKMapPoint point2); //[DllImport ("__Internal")] //[Verify (PlatformInvoke)] //static extern bool BMKMapPointEqualToPoint (BMKMapPoint point1, BMKMapPoint point2); public static bool BMKMapPointEqualToPoint(BMKMapPoint point1, BMKMapPoint point2) { return(point1.x == point2.x && point1.y == point2.y); }