gepos2d.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // DESCRIPTION:
  12. //
  13. // This file contains the class AcGePosition2d - A 2d point entity.
  14. #ifndef AC_GEPOS2D_H
  15. #define AC_GEPOS2D_H
  16. #include "adesk.h"
  17. #include "gepent2d.h"
  18. #pragma pack (push, 8)
  19. class
  20. GE_DLLEXPIMPORT
  21. AcGePosition2d : public AcGePointEnt2d
  22. {
  23. public:
  24. AcGePosition2d ();
  25. AcGePosition2d (const AcGePoint2d& pnt);
  26. AcGePosition2d (double x, double y);
  27. AcGePosition2d (const AcGePosition2d& pos);
  28. // Set point coordinates.
  29. //
  30. AcGePosition2d& set (const AcGePoint2d&);
  31. AcGePosition2d& set (double x, double y );
  32. // Assignment operator.
  33. //
  34. AcGePosition2d& operator = (const AcGePosition2d& pos);
  35. };
  36. #pragma pack (pop)
  37. #endif