/// <summary>
                    /// 获取相控阵雷达垂直方向威力间隔
                    /// </summary>
                    /// <returns>相控阵雷达垂直方向威力间隔(角度值)</returns>
                    public EarthView.World.Spatial.Math.Degree GetVerticalAngleDelta()
                    {
                        IntPtr __ptr = EarthView_IndustryEngine_MilitaryEngine_RadarLibrary_CPARadarCharacter_getVerticalAngleDelta_CDegree(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Math.Degree csObj = new EarthView.World.Spatial.Math.Degree(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "CDegree");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Math.Degree;
                            csObj.BindNativeObject(__ptr, "CDegree");
                        }
                        return(csObj);
                    }
Esempio n. 2
0
                    /// <summary>
                    /// 获取月亮大小,以视域角度为单位
                    /// </summary>
                    ///<returns>视域角度</returns>
                    public EarthView.World.Spatial.Math.Degree GetMoonTextureAngularSize()
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Effect3D_CMoon_getMoonTextureAngularSize_CDegree(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Math.Degree csObj = new EarthView.World.Spatial.Math.Degree(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "CDegree");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Math.Degree;
                            csObj.BindNativeObject(__ptr, "CDegree");
                        }
                        return(csObj);
                    }