// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _PGeom_OffsetCurve_HeaderFile #define _PGeom_OffsetCurve_HeaderFile #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Standard_HeaderFile #include #endif #ifndef _Handle_PGeom_OffsetCurve_HeaderFile #include #endif #ifndef _Handle_PGeom_Curve_HeaderFile #include #endif #ifndef _gp_Dir_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _PGeom_Curve_HeaderFile #include #endif class PGeom_Curve; class gp_Dir; class PGeom_OffsetCurve : public PGeom_Curve { public: //! Creates an OffsetCurve with default values.
Standard_EXPORT PGeom_OffsetCurve(); //! is the basis curve,
//! is the distance between and the basis curve at
//! any point. defines the fixed
//! reference direction (offset direction).
Standard_EXPORT PGeom_OffsetCurve(const Handle(PGeom_Curve)& aBasisCurve,const Standard_Real aOffsetValue,const gp_Dir& aOffsetDirection); //! Set the field basisCurve with .
Standard_EXPORT void BasisCurve(const Handle(PGeom_Curve)& aBasisCurve) ; //! The basis curve can be an offset curve.
Standard_EXPORT Handle_PGeom_Curve BasisCurve() const; //! Set the value of the field offsetDirection with
//! .
Standard_EXPORT void OffsetDirection(const gp_Dir& aOffsetDirection) ; //! Returns the direction of offset.
Standard_EXPORT gp_Dir OffsetDirection() const; //! Set the field offsetValue with .
Standard_EXPORT void OffsetValue(const Standard_Real aOffsetValue) ; //! Returns the value of the field offsetValue.
Standard_EXPORT Standard_Real OffsetValue() const; PGeom_OffsetCurve(const Storage_stCONSTclCOM& a) : PGeom_Curve(a) { } Handle(PGeom_Curve) _CSFDB_GetPGeom_OffsetCurvebasisCurve() const { return basisCurve; } void _CSFDB_SetPGeom_OffsetCurvebasisCurve(const Handle(PGeom_Curve)& p) { basisCurve = p; } const gp_Dir& _CSFDB_GetPGeom_OffsetCurveoffsetDirection() const { return offsetDirection; } Standard_Real _CSFDB_GetPGeom_OffsetCurveoffsetValue() const { return offsetValue; } void _CSFDB_SetPGeom_OffsetCurveoffsetValue(const Standard_Real p) { offsetValue = p; } DEFINE_STANDARD_RTTI(PGeom_OffsetCurve) protected: private: Handle_PGeom_Curve basisCurve; gp_Dir offsetDirection; Standard_Real offsetValue; }; // other Inline functions and methods (like "C++: function call" methods) #endif