mopoint.h
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:

GIS编程

开发平台:

Visual C++

  1. #if !defined(AFX_MOPOINT_H__14F4FA9A_465B_41C9_8190_6FED9E4E050F__INCLUDED_)
  2. #define AFX_MOPOINT_H__14F4FA9A_465B_41C9_8190_6FED9E4E050F__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  8. //  Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class CMoPoints;
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CMoPoint wrapper class
  13. class CMoPoint : public COleDispatchDriver
  14. {
  15. public:
  16. CMoPoint() {} // Calls COleDispatchDriver default constructor
  17. CMoPoint(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  18. CMoPoint(const CMoPoint& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  19. // Attributes
  20. public:
  21. double GetY();
  22. void SetY(double);
  23. double GetX();
  24. void SetX(double);
  25. double GetZ();
  26. void SetZ(double);
  27. double GetMeasure();
  28. void SetMeasure(double);
  29. long GetShapeType();
  30. void SetShapeType(long);
  31. // Operations
  32. public:
  33. double DistanceTo(LPDISPATCH shape);
  34. double DistanceToSegment(LPDISPATCH point1, LPDISPATCH point2);
  35. CMoPoints GetCrossings(LPDISPATCH shape);
  36. LPDISPATCH Union(LPDISPATCH anotherShape, const VARIANT& Extent);
  37. LPDISPATCH Xor(LPDISPATCH anotherShape, const VARIANT& Extent);
  38. LPDISPATCH Difference(LPDISPATCH anotherShape, const VARIANT& Extent);
  39. LPDISPATCH Intersect(LPDISPATCH anotherShape, const VARIANT& Extent);
  40. LPDISPATCH Buffer(double distance, const VARIANT& Extent);
  41. };
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_MOPOINT_H__14F4FA9A_465B_41C9_8190_6FED9E4E050F__INCLUDED_)