geray3d.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 AcGeRay3d - A mathematical entity
  14. // used to represent a ray (half line) in 3-space.
  15. #ifndef AC_GERAY3D_H
  16. #define AC_GERAY3D_H
  17. #include "gelent3d.h"
  18. #pragma pack (push, 8)
  19. class AcGeRay2d;
  20. class
  21. GE_DLLEXPIMPORT
  22. AcGeRay3d : public AcGeLinearEnt3d
  23. {
  24. public:
  25. AcGeRay3d();
  26. AcGeRay3d(const AcGeRay3d& line);
  27. AcGeRay3d(const AcGePoint3d& pnt, const AcGeVector3d& vec);
  28. AcGeRay3d(const AcGePoint3d& pnt1, const AcGePoint3d& pnt2);
  29. // Set methods.
  30. //
  31. AcGeRay3d& set (const AcGePoint3d& pnt, const AcGeVector3d& vec);
  32. AcGeRay3d& set (const AcGePoint3d& pnt1, const AcGePoint3d& pnt2);
  33. // Assignment operator.
  34. //
  35. AcGeRay3d& operator = (const AcGeRay3d& line);
  36. };
  37. #pragma pack (pop)
  38. #endif