概述
#region 程序集 ogr_csharp.dll, v2.0.50727 // D:KM行业需求C++gdal17_cSharpogr_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
最后
以上就是冷静万宝路为你收集整理的OSGeo.OGR.Geometry的全部内容,希望文章能够帮你解决OSGeo.OGR.Geometry所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复