123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // 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 AcGePointOnCurve3d which is used to keep information of
- // a point belonging to a 3d curve
- #ifndef AC_GEPONC3D_H
- #define AC_GEPONC3D_H
- #include "gepent3d.h"
- #pragma pack (push, 8)
- class AcGeCurve3d;
- class
- GE_DLLEXPIMPORT
- AcGePointOnCurve3d : public AcGePointEnt3d
- {
- public:
- AcGePointOnCurve3d();
- AcGePointOnCurve3d(const AcGeCurve3d& crv);
- AcGePointOnCurve3d(const AcGeCurve3d& crv, double param);
- AcGePointOnCurve3d(const AcGePointOnCurve3d& src);
- // Assignment operator.
- //
- AcGePointOnCurve3d& operator = (const AcGePointOnCurve3d& src);
- // Query functions.
- //
- const AcGeCurve3d* curve () const;
- double parameter () const;
- // Functions to evaluate a point.
- //
- AcGePoint3d point () const;
- AcGePoint3d point (double param);
- AcGePoint3d point (const AcGeCurve3d& crv, double param);
- // Functions to evaluate the derivatives.
- //
- AcGeVector3d deriv (int order) const;
- AcGeVector3d deriv (int order, double param);
- AcGeVector3d deriv (int order, const AcGeCurve3d& crv,
- double param);
- // Singularity
- //
- Adesk::Boolean isSingular (const AcGeTol& tol =
- AcGeContext::gTol) const;
- Adesk::Boolean curvature (double& res);
- Adesk::Boolean curvature (double param, double& res);
- // Set functions.
- //
- AcGePointOnCurve3d& setCurve (const AcGeCurve3d& crv);
- AcGePointOnCurve3d& setParameter (double param);
- };
- #pragma pack (pop)
- #endif
|