⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 esrigeometry.tlh

📁 叮叮咚咚 叮叮咚咚 叮叮咚咚
💻 TLH
📖 第 1 页 / 共 5 页
字号:
//

struct __declspec(uuid("1b07790d-38c5-11d0-92d2-00805f7c28b0"))
IGeometry : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_GeometryType (
        enum esriGeometryType * shapeType ) = 0;
    virtual HRESULT __stdcall get_Dimension (
        enum esriGeometryDimension * Dimension ) = 0;
    virtual HRESULT __stdcall get_SpatialReference (
        struct ISpatialReference * * spatialRef ) = 0;
    virtual HRESULT __stdcall putref_SpatialReference (
        struct ISpatialReference * spatialRef ) = 0;
    virtual HRESULT __stdcall get_IsEmpty (
        VARIANT_BOOL * IsEmpty ) = 0;
    virtual HRESULT __stdcall SetEmpty ( ) = 0;
    virtual HRESULT __stdcall QueryEnvelope (
        struct IEnvelope * outEnvelope ) = 0;
    virtual HRESULT __stdcall get_Envelope (
        struct IEnvelope * * newEnvelope ) = 0;
    virtual HRESULT __stdcall Project (
        struct ISpatialReference * newReferenceSystem ) = 0;
    virtual HRESULT __stdcall SnapToSpatialReference ( ) = 0;
    virtual HRESULT __stdcall GeoNormalize ( ) = 0;
    virtual HRESULT __stdcall GeoNormalizeFromLongitude (
        double Longitude ) = 0;
};

enum esriGeometryType
{
    esriGeometryNull = 0,
    esriGeometryPoint = 1,
    esriGeometryMultipoint = 2,
    esriGeometryLine = 13,
    esriGeometryCircularArc = 14,
    esriGeometryEllipticArc = 16,
    esriGeometryBezier3Curve = 15,
    esriGeometryPath = 6,
    esriGeometryPolyline = 3,
    esriGeometryRing = 11,
    esriGeometryPolygon = 4,
    esriGeometryEnvelope = 5,
    esriGeometryAny = 7,
    esriGeometryBag = 17,
    esriGeometryMultiPatch = 9,
    esriGeometryTriangleStrip = 18,
    esriGeometryTriangleFan = 19,
    esriGeometryRay = 20,
    esriGeometrySphere = 21,
    esriGeometryTriangles = 22
};

enum esriGeometryDimension
{
    esriGeometry0Dimension = 1,
    esriGeometry1Dimension = 2,
    esriGeometry2Dimension = 4,
    esriGeometry25Dimension = 5,
    esriGeometry3Dimension = 6,
    esriGeometryNoDimension = -1
};

struct __declspec(uuid("4da0fe00-1dd2-11b2-bf49-08002022f573"))
ISpatialReferenceInfo : IUnknown
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Name (
        BSTR * Name ) = 0;
    virtual HRESULT __stdcall get_Alias (
        BSTR * Alias ) = 0;
    virtual HRESULT __stdcall get_Abbreviation (
        BSTR * Abbreviation ) = 0;
    virtual HRESULT __stdcall get_Remarks (
        BSTR * Remarks ) = 0;
    virtual HRESULT __stdcall get_FactoryCode (
        long * code ) = 0;
};

struct __declspec(uuid("4434d680-f4da-11d1-bca6-0000f875bcce"))
ISpatialReference : ISpatialReferenceInfo
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_SpatialReferenceImpl (
        esriSpatialReferenceImplHandle * srImpl ) = 0;
    virtual HRESULT __stdcall get_PrecisionImpl (
        esriPrecisionImplHandle * PrecisionImpl ) = 0;
    virtual HRESULT __stdcall get_PrecisionExImpl (
        esriPrecisionExImplHandle * PrecisionExImpl ) = 0;
    virtual HRESULT __stdcall HasXYPrecision (
        VARIANT_BOOL * HasXYPrecision ) = 0;
    virtual HRESULT __stdcall HasZPrecision (
        VARIANT_BOOL * HasZPrecision ) = 0;
    virtual HRESULT __stdcall HasMPrecision (
        VARIANT_BOOL * HasMPrecision ) = 0;
    virtual HRESULT __stdcall IsPrecisionEqual (
        struct ISpatialReference * otherSR,
        VARIANT_BOOL * IsPrecisionEqual ) = 0;
    virtual HRESULT __stdcall SetFalseOriginAndUnits (
        double falseX,
        double falseY,
        double xyUnits ) = 0;
    virtual HRESULT __stdcall SetZFalseOriginAndUnits (
        double falseZ,
        double zUnits ) = 0;
    virtual HRESULT __stdcall SetMFalseOriginAndUnits (
        double falseM,
        double mUnits ) = 0;
    virtual HRESULT __stdcall GetFalseOriginAndUnits (
        double * falseX,
        double * falseY,
        double * xyUnits ) = 0;
    virtual HRESULT __stdcall GetZFalseOriginAndUnits (
        double * falseZ,
        double * zUnits ) = 0;
    virtual HRESULT __stdcall GetMFalseOriginAndUnits (
        double * falseM,
        double * mUnits ) = 0;
    virtual HRESULT __stdcall GetDomain (
        double * XMin,
        double * XMax,
        double * YMin,
        double * YMax ) = 0;
    virtual HRESULT __stdcall SetDomain (
        double XMin,
        double XMax,
        double YMin,
        double YMax ) = 0;
    virtual HRESULT __stdcall GetZDomain (
        double * outZMin,
        double * outZMax ) = 0;
    virtual HRESULT __stdcall SetZDomain (
        double inZMin,
        double inZMax ) = 0;
    virtual HRESULT __stdcall GetMDomain (
        double * outMMin,
        double * outMMax ) = 0;
    virtual HRESULT __stdcall SetMDomain (
        double inMMin,
        double inMMax ) = 0;
    virtual HRESULT __stdcall get_ZCoordinateUnit (
        struct ILinearUnit * * zunit ) = 0;
    virtual HRESULT __stdcall put_ZCoordinateUnit (
        struct ILinearUnit * zunit ) = 0;
    virtual HRESULT __stdcall Changed ( ) = 0;
};

struct __declspec(uuid("0ae02580-1dd2-11b2-bf4a-08002022f573"))
IUnit : ISpatialReferenceInfo
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_ConversionFactor (
        double * ConversionFactor ) = 0;
};

struct __declspec(uuid("74ad43f1-d31c-11d1-bc9b-0000f875bcce"))
ILinearUnit : IUnit
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_MetersPerUnit (
        double * MetersPerUnit ) = 0;
};

struct __declspec(uuid("1b077914-38c5-11d0-92d2-00805f7c28b0"))
IEnvelope : IGeometry
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Width (
        double * Width ) = 0;
    virtual HRESULT __stdcall put_Width (
        double Width ) = 0;
    virtual HRESULT __stdcall get_Height (
        double * Height ) = 0;
    virtual HRESULT __stdcall put_Depth (
        double Depth ) = 0;
    virtual HRESULT __stdcall get_Depth (
        double * Depth ) = 0;
    virtual HRESULT __stdcall put_Height (
        double Height ) = 0;
    virtual HRESULT __stdcall get_LowerLeft (
        struct IPoint * * LowerLeft ) = 0;
    virtual HRESULT __stdcall put_LowerLeft (
        struct IPoint * LowerLeft ) = 0;
    virtual HRESULT __stdcall get_UpperLeft (
        struct IPoint * * UpperLeft ) = 0;
    virtual HRESULT __stdcall put_UpperLeft (
        struct IPoint * UpperLeft ) = 0;
    virtual HRESULT __stdcall get_UpperRight (
        struct IPoint * * UpperRight ) = 0;
    virtual HRESULT __stdcall put_UpperRight (
        struct IPoint * UpperRight ) = 0;
    virtual HRESULT __stdcall get_LowerRight (
        struct IPoint * * LowerRight ) = 0;
    virtual HRESULT __stdcall put_LowerRight (
        struct IPoint * LowerRight ) = 0;
    virtual HRESULT __stdcall get_XMin (
        double * XMin ) = 0;
    virtual HRESULT __stdcall put_XMin (
        double XMin ) = 0;
    virtual HRESULT __stdcall get_YMin (
        double * YMin ) = 0;
    virtual HRESULT __stdcall put_YMin (
        double YMin ) = 0;
    virtual HRESULT __stdcall get_XMax (
        double * XMax ) = 0;
    virtual HRESULT __stdcall put_XMax (
        double XMax ) = 0;
    virtual HRESULT __stdcall get_YMax (
        double * YMax ) = 0;
    virtual HRESULT __stdcall put_YMax (
        double YMax ) = 0;
    virtual HRESULT __stdcall get_MMin (
        double * MMin ) = 0;
    virtual HRESULT __stdcall put_MMin (
        double MMin ) = 0;
    virtual HRESULT __stdcall get_MMax (
        double * MMax ) = 0;
    virtual HRESULT __stdcall put_MMax (
        double MMax ) = 0;
    virtual HRESULT __stdcall get_ZMin (
        double * ZMin ) = 0;
    virtual HRESULT __stdcall put_ZMin (
        double ZMin ) = 0;
    virtual HRESULT __stdcall get_ZMax (
        double * ZMax ) = 0;
    virtual HRESULT __stdcall put_ZMax (
        double ZMax ) = 0;
    virtual HRESULT __stdcall Union (
        struct IEnvelope * inEnvelope ) = 0;
    virtual HRESULT __stdcall Intersect (
        struct IEnvelope * inEnvelope ) = 0;
    virtual HRESULT __stdcall Offset (
        double X,
        double Y ) = 0;
    virtual HRESULT __stdcall OffsetZ (
        double Z ) = 0;
    virtual HRESULT __stdcall OffsetM (
        double M ) = 0;
    virtual HRESULT __stdcall Expand (
        double dx,
        double dy,
        VARIANT_BOOL asRatio ) = 0;
    virtual HRESULT __stdcall ExpandZ (
        double dz,
        VARIANT_BOOL asRatio ) = 0;
    virtual HRESULT __stdcall ExpandM (
        double dm,
        VARIANT_BOOL asRatio ) = 0;
    virtual HRESULT __stdcall DefineFromWKSPoints (
        long Count,
        WKSPoint * Points ) = 0;
    virtual HRESULT __stdcall DefineFromPoints (
        long Count,
        struct IPoint * * Points ) = 0;
    virtual HRESULT __stdcall QueryWKSCoords (
        WKSEnvelope * e ) = 0;
    virtual HRESULT __stdcall PutWKSCoords (
        WKSEnvelope * e ) = 0;
    virtual HRESULT __stdcall PutCoords (
        double XMin,
        double YMin,
        double XMax,
        double YMax ) = 0;
    virtual HRESULT __stdcall QueryCoords (
        double * XMin,
        double * YMin,
        double * XMax,
        double * YMax ) = 0;
    virtual HRESULT __stdcall CenterAt (
        struct IPoint * p ) = 0;
    virtual HRESULT __stdcall get_MinMaxAttributes (
        esriPointAttributes * * MinMaxAttributes ) = 0;
    virtual HRESULT __stdcall put_MinMaxAttributes (
        esriPointAttributes * MinMaxAttributes ) = 0;
};

struct __declspec(uuid("1b077915-38c5-11d0-92d2-00805f7c28b0"))
IPoint : IGeometry
{
    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall QueryCoords (
        double * X,
        double * Y ) = 0;
    virtual HRESULT __stdcall PutCoords (
        double X,
        double Y ) = 0;
    virtual HRESULT __stdcall get_X (
        double * X ) = 0;
    virtual HRESULT __stdcall put_X (
        double X ) = 0;
    virtual HRESULT __stdcall get_Y (
        double * Y ) = 0;
    virtual HRESULT __stdcall put_Y (
        double Y ) = 0;
    virtual HRESULT __stdcall get_Z (
        double * Z ) = 0;
    virtual HRESULT __stdcall put_Z (
        double Z ) = 0;
    virtual HRESULT __stdcall get_M (
        double * M ) = 0;
    virtual HRESULT __stdcall put_M (
        double M ) = 0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -