dbplanesurf.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. //
  3. //
  4. //////////////////////////////////////////////////////////////////////////////
  5. //
  6. // Copyright 2015 Autodesk, Inc. All rights reserved.
  7. //
  8. // Use of this software is subject to the terms of the Autodesk license
  9. // agreement provided at the time of installation or download, or which
  10. // otherwise accompanies this software in either electronic or hard copy form.
  11. //
  12. //////////////////////////////////////////////////////////////////////////////
  13. //
  14. //
  15. // DESCRIPTION:
  16. //
  17. // The AcDbPlaneSurface class is the interface class for representing
  18. // ASM plane surfaces.
  19. #pragma once
  20. #ifndef DBPLANESURF_H
  21. #define DBPLANESURF_H
  22. #include "dbsurf.h"
  23. #pragma pack(push, 8)
  24. class AcDbPlaneSurface: public AcDbSurface
  25. {
  26. public:
  27. AcDbPlaneSurface ();
  28. virtual ~AcDbPlaneSurface();
  29. ACDB_DECLARE_MEMBERS(AcDbPlaneSurface);
  30. // Create plane surface from region.
  31. virtual Acad::ErrorStatus createFromRegion ( AcDbRegion *pRegion );
  32. // AcDbObject methods
  33. virtual Acad::ErrorStatus dwgInFields(AcDbDwgFiler* filer);
  34. virtual Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* filer) const;
  35. virtual Acad::ErrorStatus dxfInFields(AcDbDxfFiler* filer);
  36. virtual Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* filer) const;
  37. virtual bool isDependent() const;
  38. protected:
  39. virtual Acad::ErrorStatus subGetClassID(CLSID* pClsid) const;
  40. };
  41. #pragma pack(pop)
  42. #endif // DBPLANESURF_H