123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // DESCRIPTION:
- //
- // This file contains the class AcGeExternalCurve3d - A
- // representation for a curve that has its definition external to
- // gelib.
- #ifndef AC_GEEXTC3D_H
- #define AC_GEEXTC3D_H
- #include "gecurv3d.h"
- #include "gearc3d.h"
- #include "gevec3d.h"
- #include "gepnt3d.h"
- #pragma pack (push, 8)
- class AcGeLine3d;
- class AcGeLineSeg3d;
- class AcGeRay3d;
- class AcGeEllipArc3d;
- class AcGeNurbCurve3d;
- class AcGeExternalCurve2d;
- class AcGeExternalCurve3d;
- class
- GX_DLLEXPIMPORT
- AcGeExternalCurve3d : public AcGeCurve3d
- {
- public:
- AcGeExternalCurve3d();
- AcGeExternalCurve3d(const AcGeExternalCurve3d& src);
- AcGeExternalCurve3d(void* curveDef, AcGe::ExternalEntityKind curveKind,
- Adesk::Boolean makeCopy = Adesk::kTrue);
- Adesk::Boolean isLine () const;
- Adesk::Boolean isRay () const;
- Adesk::Boolean isLineSeg () const;
- Adesk::Boolean isCircArc () const;
- Adesk::Boolean isEllipArc () const;
- Adesk::Boolean isNurbCurve() const;
- Adesk::Boolean isDefined () const;
- // Conversion to native gelib curve
- //
- Adesk::Boolean isNativeCurve (AcGeCurve3d*& nativeCurve) const;
- void getExternalCurve (void*& curveDef) const;
- // Type of the external curve.
- //
- AcGe::ExternalEntityKind externalCurveKind() const;
- // Reset surface
- //
- AcGeExternalCurve3d& set(void* curveDef, AcGe::ExternalEntityKind curveKind,
- Adesk::Boolean makeCopy = Adesk::kTrue);
- // Assignment operator
- //
- AcGeExternalCurve3d& operator = (const AcGeExternalCurve3d& src);
- // Ownership of curve
- //
- Adesk::Boolean isOwnerOfCurve () const;
- AcGeExternalCurve3d& setToOwnCurve ();
- };
- #pragma pack (pop)
- #endif
|