geoffc3d.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 AcGeOffsetCurve3d - A mathematical
  15. // entity used to represent an exact offset of a 3d curve.
  16. #ifndef AC_GEOFFC3D_H
  17. #define AC_GEOFFC3D_H
  18. #include "gecurv3d.h"
  19. #pragma pack (push, 8)
  20. class
  21. GE_DLLEXPIMPORT
  22. AcGeOffsetCurve3d : public AcGeCurve3d
  23. {
  24. public:
  25. // Constructors
  26. //
  27. AcGeOffsetCurve3d (const AcGeCurve3d& baseCurve, const AcGeVector3d& planeNormal,
  28. double offsetDistance);
  29. AcGeOffsetCurve3d (const AcGeOffsetCurve3d& offsetCurve);
  30. // Query methods
  31. //
  32. const AcGeCurve3d* curve () const;
  33. AcGeVector3d normal () const;
  34. double offsetDistance () const;
  35. Adesk::Boolean paramDirection () const;
  36. AcGeMatrix3d transformation () const;
  37. // Set methods
  38. //
  39. AcGeOffsetCurve3d& setCurve (const AcGeCurve3d& baseCurve);
  40. AcGeOffsetCurve3d& setNormal (const AcGeVector3d& planeNormal);
  41. AcGeOffsetCurve3d& setOffsetDistance (double offsetDistance);
  42. // Assignment operator.
  43. //
  44. AcGeOffsetCurve3d& operator = (const AcGeOffsetCurve3d& offsetCurve);
  45. };
  46. #pragma pack (pop)
  47. #endif