mopoint.h

来自「程序编写环境为Visual Studio.NET 2002」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_MOPOINT_H__BDFBDD51_0C44_483A_B072_4F0EAE75C658__INCLUDED_)
#define AFX_MOPOINT_H__BDFBDD51_0C44_483A_B072_4F0EAE75C658__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.


// Dispatch interfaces referenced by this interface
class CMoPoints;

/////////////////////////////////////////////////////////////////////////////
// CMoPoint wrapper class

class CMoPoint : public COleDispatchDriver
{
public:
	CMoPoint() {}		// Calls COleDispatchDriver default constructor
	CMoPoint(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CMoPoint(const CMoPoint& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	double GetY();
	void SetY(double);
	double GetX();
	void SetX(double);
	double GetZ();
	void SetZ(double);
	double GetMeasure();
	void SetMeasure(double);
	long GetShapeType();
	void SetShapeType(long);

// Operations
public:
	double DistanceTo(LPDISPATCH shape);
	double DistanceToSegment(LPDISPATCH point1, LPDISPATCH point2);
	CMoPoints GetCrossings(LPDISPATCH shape);
	LPDISPATCH Union(LPDISPATCH anotherShape, const VARIANT& Extent);
	LPDISPATCH Xor(LPDISPATCH anotherShape, const VARIANT& Extent);
	LPDISPATCH Difference(LPDISPATCH anotherShape, const VARIANT& Extent);
	LPDISPATCH Intersect(LPDISPATCH anotherShape, const VARIANT& Extent);
	LPDISPATCH Buffer(double distance, const VARIANT& Extent);
	void Set(double X, double Y, double Z, double Measure);
	void Get(double* X, double* Y, double* Z, double* Measure);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MOPOINT_H__BDFBDD51_0C44_483A_B072_4F0EAE75C658__INCLUDED_)

⌨️ 快捷键说明

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