public static unsafe double GetDistance(global::Com.Baidu.Mapapi.Model.Inner.Point p0, global::Com.Baidu.Mapapi.Model.Inner.Point p1) { const string __id = "getDistance.(Lcom/baidu/mapapi/model/inner/Point;Lcom/baidu/mapapi/model/inner/Point;)D"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); var __rm = _members.StaticMethods.InvokeDoubleMethod(__id, __args); return(__rm); } finally { } }
public static unsafe global::Com.Baidu.Mapapi.Model.Inner.Point Ll2point(global::Com.Baidu.Mapapi.Model.LatLng p0) { if (id_ll2point_Lcom_baidu_mapapi_model_LatLng_ == IntPtr.Zero) { id_ll2point_Lcom_baidu_mapapi_model_LatLng_ = JNIEnv.GetStaticMethodID(class_ref, "ll2point", "(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/model/inner/Point;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Baidu.Mapapi.Model.Inner.Point __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.Inner.Point> (JNIEnv.CallStaticObjectMethod(class_ref, id_ll2point_Lcom_baidu_mapapi_model_LatLng_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe double GetDistance(global::Com.Baidu.Mapapi.Model.Inner.Point p0, global::Com.Baidu.Mapapi.Model.Inner.Point p1) { if (id_getDistance_Lcom_baidu_mapapi_model_inner_Point_Lcom_baidu_mapapi_model_inner_Point_ == IntPtr.Zero) { id_getDistance_Lcom_baidu_mapapi_model_inner_Point_Lcom_baidu_mapapi_model_inner_Point_ = JNIEnv.GetStaticMethodID(class_ref, "getDistance", "(Lcom/baidu/mapapi/model/inner/Point;Lcom/baidu/mapapi/model/inner/Point;)D"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); double __ret = JNIEnv.CallStaticDoubleMethod(class_ref, id_getDistance_Lcom_baidu_mapapi_model_inner_Point_Lcom_baidu_mapapi_model_inner_Point_, __args); return(__ret); } finally { } }
static void n_SetPtLB_Lcom_baidu_mapapi_model_inner_Point_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Model.Inner.MapBound __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.Inner.MapBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Model.Inner.Point p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.Inner.Point> (native_p0, JniHandleOwnership.DoNotTransfer); __this.PtLB = p0; }
static void n_SetmPty_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Baidu.Mapapi.Model.Inner.Point __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.Inner.Point> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.SetmPty(p0); }
static int n_GetmPty(IntPtr jnienv, IntPtr native__this) { global::Com.Baidu.Mapapi.Model.Inner.Point __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.Inner.Point> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.GetmPty()); }