axmat3d.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. //
  13. #ifndef __AXMAT3D_H_
  14. #define __AXMAT3D_H_
  15. #include "gemat3d.h"
  16. #pragma pack (push, 8)
  17. #ifndef AXAUTOEXP
  18. #ifdef AXAUTO_DLL
  19. #define AXAUTOEXP __declspec(dllexport)
  20. #else
  21. #define AXAUTOEXP __declspec(dllimport)
  22. #endif
  23. #endif
  24. //#pragma warning(disable : 4290)
  25. class AXAUTOEXP AcAxMatrix3d : public AcGeMatrix3d
  26. {
  27. public:
  28. // constructors
  29. AcAxMatrix3d();
  30. AcAxMatrix3d(const VARIANT* var) throw(HRESULT);
  31. AcAxMatrix3d(const VARIANT& var) throw(HRESULT);
  32. AcAxMatrix3d(const SAFEARRAY* safeArrayPt) throw(HRESULT);
  33. // equal operators
  34. AcAxMatrix3d& operator=(const VARIANT* var) throw(HRESULT);
  35. AcAxMatrix3d& operator=(const VARIANT& var) throw(HRESULT);
  36. AcAxMatrix3d& operator=(const SAFEARRAY* safeArrayPt) throw(HRESULT);
  37. // utilities
  38. private:
  39. AcAxMatrix3d& fromSafeArray(const SAFEARRAY* safeArrayPt) throw(HRESULT);
  40. };
  41. #pragma pack (pop)
  42. #endif