Exemplo n.º 1
0
                    /// <summary>
                    /// 获取坡向值列表
                    /// </summary>
                    /// <returns>坡向值列表</returns>
                    public EarthView.World.Core.RealVector GetAspectValues()
                    {
                        IntPtr __ptr = EarthView_World_Spatial3D_Analysis_CMath3DSlope_getAspectValues_RealVector(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Core.RealVector csObj = new EarthView.World.Core.RealVector(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "RealVector");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Core.RealVector;
                            csObj.BindNativeObject(__ptr, "RealVector");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
Exemplo n.º 2
0
 /// <summary>
 /// 统计坡度
 /// </summary>
 /// <param name="boundaryPts">边界点列表</param>
 /// <param name="divisions">坡度级别</param>
 public void CalcuSlopeDistributing(EarthView.World.Spatial.Math.VertexList boundaryPts, EarthView.World.Core.RealVector divisions)
 {
     EarthView_World_Spatial3D_Analysis_CMath3DSlope_calcuSlopeDistributing_void_VertexList_RealVector(this.NativeObject, object.Equals(boundaryPts, null) ? IntPtr.Zero : boundaryPts.NativeObject, object.Equals(divisions, null) ? IntPtr.Zero : divisions.NativeObject);
 }