码迷,mamicode.com
首页 > 其他好文 > 详细

OSGeo.OGR.Geometry

时间:2014-08-08 15:41:26      阅读:828      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   io   for   ar   cti   

#region 程序集 ogr_csharp.dll, v2.0.50727
// D:\KM行业需求\C++\gdal17_cSharp\ogr_csharp.dll
#endregion

using OSGeo.OSR;
using System;
using System.Runtime.InteropServices;

namespace OSGeo.OGR
{
    public class Geometry : IDisposable
    {
        protected bool swigCMemOwn;
        protected object swigParentRef;

        public Geometry(wkbGeometryType type);
        public Geometry(IntPtr cPtr, bool cMemoryOwn, object parent);
        public Geometry(wkbGeometryType type, string wkt, int wkb, IntPtr wkb_buf, string gml);

        public int AddGeometry(Geometry other);
        public int AddGeometryDirectly(Geometry other_disown);
        public void AddPoint(double x, double y, double z);
        public void AddPoint_2D(double x, double y);
        public void AssignSpatialReference(OSGeo.OSR.SpatialReference reference);
        public Geometry Buffer(double distance, int quadsecs);
        public Geometry Centroid();
        public Geometry Clone();
        public void CloseRings();
        public bool Contains(Geometry other);
        public Geometry ConvexHull();
        public static Geometry CreateFromGML(string gml);
        public static Geometry CreateFromWkb(byte[] wkb);
        public static Geometry CreateFromWkt(string wkt);
        public bool Crosses(Geometry other);
        public Geometry Difference(Geometry other);
        public bool Disjoint(Geometry other);
        public virtual void Dispose();
        public double Distance(Geometry other);
        public void Empty();
        public bool Equal(Geometry other);
        public string ExportToGML();
        public string ExportToJson();
        public string ExportToKML(string altitude_mode);
        public int ExportToWkb(byte[] buffer);
        public int ExportToWkb(byte[] buffer, wkbByteOrder byte_order);
        public int ExportToWkb(int bufLen, IntPtr buffer, wkbByteOrder byte_order);
        public int ExportToWkt(out string argout);
        public void FlattenTo2D();
        public double GetArea();
        public Geometry GetBoundary();
        public int GetCoordinateDimension();
        public static HandleRef getCPtr(Geometry obj);
        public static HandleRef getCPtrAndDisown(Geometry obj, object parent);
        public static HandleRef getCPtrAndSetReference(Geometry obj, object parent);
        public int GetDimension();
        public void GetEnvelope(Envelope env);
        public int GetGeometryCount();
        public string GetGeometryName();
        public Geometry GetGeometryRef(int geom);
        public wkbGeometryType GetGeometryType();
        public void GetPoint(int iPoint, double[] argout);
        public void GetPoint_2D(int iPoint, double[] argout);
        public int GetPointCount();
        public OSGeo.OSR.SpatialReference GetSpatialReference();
        public double GetX(int point);
        public double GetY(int point);
        public double GetZ(int point);
        public bool Intersect(Geometry other);
        public Geometry Intersection(Geometry other);
        public bool IsEmpty();
        public bool IsRing();
        public bool IsSimple();
        public bool IsValid();
        public bool Overlaps(Geometry other);
        public void Segmentize(double dfMaxLength);
        public void SetCoordinateDimension(int dimension);
        public void SetPoint(int point, double x, double y, double z);
        public void SetPoint_2D(int point, double x, double y);
        public Geometry SymmetricDifference(Geometry other);
        protected object ThisOwn_false();
        protected static object ThisOwn_true();
        public bool Touches(Geometry other);
        public int Transform(OSGeo.OSR.CoordinateTransformation trans);
        public int TransformTo(OSGeo.OSR.SpatialReference reference);
        public Geometry Union(Geometry other);
        public bool Within(Geometry other);
        public int WkbSize();
    }
}

 

OSGeo.OGR.Geometry,布布扣,bubuko.com

OSGeo.OGR.Geometry

标签:style   blog   color   os   io   for   ar   cti   

原文地址:http://www.cnblogs.com/yitianhe/p/3899338.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!