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

📄 sopjcoordsys.cpp

📁 SuperMap的网络分析示范源码
💻 CPP
字号:
// 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 "sopjcoordsys.h"

// Dispatch interfaces referenced by this interface
#include "sopjgeocoordsys.h"
#include "sopjparams.h"


/////////////////////////////////////////////////////////////////////////////
// CsoPJCoordSys properties

long CsoPJCoordSys::GetType()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetType(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

long CsoPJCoordSys::GetProjection()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetProjection(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

long CsoPJCoordSys::GetDistUnits()
{
	long result;
	GetProperty(0x3, VT_I4, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetDistUnits(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

long CsoPJCoordSys::GetCoordUnits()
{
	long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetCoordUnits(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

BOOL CsoPJCoordSys::GetIsProjected()
{
	BOOL result;
	GetProperty(0x5, VT_BOOL, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetIsProjected(BOOL propVal)
{
	SetProperty(0x5, VT_BOOL, propVal);
}

CsoPJGeoCoordSys CsoPJCoordSys::GetGeoCoordSys()
{
	LPDISPATCH pDispatch;
	GetProperty(0x6, VT_DISPATCH, (void*)&pDispatch);
	return CsoPJGeoCoordSys(pDispatch);
}

void CsoPJCoordSys::SetGeoCoordSys(LPDISPATCH propVal)
{
	SetProperty(0x6, VT_DISPATCH, propVal);
}

CsoPJParams CsoPJCoordSys::GetPJParams()
{
	LPDISPATCH pDispatch;
	GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch);
	return CsoPJParams(pDispatch);
}

void CsoPJCoordSys::SetPJParams(LPDISPATCH propVal)
{
	SetProperty(0x7, VT_DISPATCH, propVal);
}

CString CsoPJCoordSys::GetName()
{
	CString result;
	GetProperty(0x8, VT_BSTR, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetName(LPCTSTR propVal)
{
	SetProperty(0x8, VT_BSTR, propVal);
}

BOOL CsoPJCoordSys::GetIsCalculatePJError()
{
	BOOL result;
	GetProperty(0x9, VT_BOOL, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetIsCalculatePJError(BOOL propVal)
{
	SetProperty(0x9, VT_BOOL, propVal);
}

double CsoPJCoordSys::GetDistanceError()
{
	double result;
	GetProperty(0xa, VT_R8, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetDistanceError(double propVal)
{
	SetProperty(0xa, VT_R8, propVal);
}

double CsoPJCoordSys::GetAngleError()
{
	double result;
	GetProperty(0xb, VT_R8, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetAngleError(double propVal)
{
	SetProperty(0xb, VT_R8, propVal);
}

double CsoPJCoordSys::GetAreaError()
{
	double result;
	GetProperty(0xc, VT_R8, (void*)&result);
	return result;
}

void CsoPJCoordSys::SetAreaError(double propVal)
{
	SetProperty(0xc, VT_R8, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoPJCoordSys operations

BOOL CsoPJCoordSys::Forward(LPDISPATCH objValue)
{
	BOOL result;
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		objValue);
	return result;
}

BOOL CsoPJCoordSys::Inverse(LPDISPATCH objValue)
{
	BOOL result;
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0xe, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		objValue);
	return result;
}

BOOL CsoPJCoordSys::ShowSettingDialog()
{
	BOOL result;
	InvokeHelper(0xf, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

⌨️ 快捷键说明

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