Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
mogeocoordsys.cpp
Package: MoLecture.rar [view]
Upload User: qinfarui
Upload Date: 2022-08-10
Package Size: 362k
Code Size: 3k
Category:
GIS program
Development Platform:
Visual C++
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "mogeocoordsys.h"
- // Dispatch interfaces referenced by this interface
- #include "MoDatum.h"
- #include "MoUnit.h"
- #include "MoPrimeMeridian.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMoGeoCoordSys properties
- long CMoGeoCoordSys::GetType()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
- void CMoGeoCoordSys::SetType(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
- CString CMoGeoCoordSys::GetName()
- {
- CString result;
- GetProperty(0x2, VT_BSTR, (void*)&result);
- return result;
- }
- void CMoGeoCoordSys::SetName(LPCTSTR propVal)
- {
- SetProperty(0x2, VT_BSTR, propVal);
- }
- CMoDatum CMoGeoCoordSys::GetDatum()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x3, VT_DISPATCH, (void*)&pDispatch);
- return CMoDatum(pDispatch);
- }
- void CMoGeoCoordSys::SetDatum(LPDISPATCH propVal)
- {
- SetProperty(0x3, VT_DISPATCH, propVal);
- }
- CMoUnit CMoGeoCoordSys::GetUnit()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x4, VT_DISPATCH, (void*)&pDispatch);
- return CMoUnit(pDispatch);
- }
- void CMoGeoCoordSys::SetUnit(LPDISPATCH propVal)
- {
- SetProperty(0x4, VT_DISPATCH, propVal);
- }
- CMoPrimeMeridian CMoGeoCoordSys::GetPrimeMeridian()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x5, VT_DISPATCH, (void*)&pDispatch);
- return CMoPrimeMeridian(pDispatch);
- }
- void CMoGeoCoordSys::SetPrimeMeridian(LPDISPATCH propVal)
- {
- SetProperty(0x5, VT_DISPATCH, propVal);
- }
- BOOL CMoGeoCoordSys::GetIsProjected()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
- void CMoGeoCoordSys::SetIsProjected(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CMoGeoCoordSys operations
- LPDISPATCH CMoGeoCoordSys::Transform(LPDISPATCH FromCoordSys, LPDISPATCH FromShape, const VARIANT& DensificationTolerance, const VARIANT& GeoTransformation)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_DISPATCH VTS_DISPATCH VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- FromCoordSys, FromShape, &DensificationTolerance, &GeoTransformation);
- return result;
- }
- void CMoGeoCoordSys::Export(LPCTSTR OutName)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- OutName);
- }
- CString CMoGeoCoordSys::ReturnDescription()
- {
- CString result;
- InvokeHelper(0x9, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
- return result;
- }