gepos3d.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 AcGePosition3d - A 3d point entity.
  15. #ifndef AC_GEPOS3D_H
  16. #define AC_GEPOS3D_H
  17. #include "adesk.h"
  18. #include "gepent3d.h"
  19. #include "gepnt3d.h"
  20. #pragma pack (push, 8)
  21. class
  22. GE_DLLEXPIMPORT
  23. AcGePosition3d : public AcGePointEnt3d
  24. {
  25. public:
  26. AcGePosition3d ();
  27. AcGePosition3d (const AcGePoint3d& pnt);
  28. AcGePosition3d (double x, double y, double z);
  29. AcGePosition3d (const AcGePosition3d& pos);
  30. // Set point coordinates.
  31. //
  32. AcGePosition3d& set (const AcGePoint3d&);
  33. AcGePosition3d& set (double x, double y, double z );
  34. // Assignment operator.
  35. //
  36. AcGePosition3d& operator = (const AcGePosition3d& pos);
  37. };
  38. #pragma pack (pop)
  39. #endif