예제 #1
0
 public void Merge(EarthView.World.Spatial.Math.Sphere oth)
 {
     EarthView_World_Spatial_Math_CSphere_merge_void_CSphere(this.NativeObject, object.Equals(oth, null) ? IntPtr.Zero : oth.NativeObject);
 }
예제 #2
0
                    /// <summary>
                    /// 判断与另一球体是否相交
                    /// </summary>
                    /// <param name="s">另一球体</param>
                    /// <returns>相交返回true,否则false</returns>
                    public bool Intersects(EarthView.World.Spatial.Math.Sphere s)
                    {
                        byte ret = EarthView_World_Spatial_Math_CSphere_intersects_ev_bool_CSphere(this.NativeObject, object.Equals(s, null) ? IntPtr.Zero : s.NativeObject);

                        return(Convert.ToBoolean(ret));
                    }