gepent2d.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. //
  12. // DESCRIPTION:
  13. //
  14. // This file contains the class AcGePointEnt2d - An abstract base
  15. // class to represent point entities.
  16. #ifndef AC_GEPENT2D_H
  17. #define AC_GEPENT2D_H
  18. #include "adesk.h"
  19. #include "geent2d.h"
  20. #include "gepnt2d.h"
  21. #pragma pack (push, 8)
  22. class
  23. GE_DLLEXPIMPORT
  24. AcGePointEnt2d : public AcGeEntity2d
  25. {
  26. public:
  27. // Return point coordinates.
  28. //
  29. AcGePoint2d point2d () const;
  30. // Conversion operator to convert to AcGePoint2d.
  31. //
  32. operator AcGePoint2d () const;
  33. // Assignment operator.
  34. //
  35. AcGePointEnt2d& operator = (const AcGePointEnt2d& pnt);
  36. protected:
  37. // Private constructors so that no object of this class can be instantiated.
  38. AcGePointEnt2d ();
  39. AcGePointEnt2d (const AcGePointEnt2d&);
  40. };
  41. #pragma pack (pop)
  42. #endif