OSGeo.OGR.Geometry

#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();
    }
}

 

转载于:https://www.cnblogs.com/yitianhe/p/3899338.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值