// 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 _BRepGProp_EdgeTool_HeaderFile #define _BRepGProp_EdgeTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _GeomAbs_Shape_HeaderFile #include #endif class Standard_OutOfRange; class BRepAdaptor_Curve; class gp_Pnt; class gp_Vec; class TColStd_Array1OfReal; //! Provides the required methods to instantiate
//! CGProps from GProp with a Curve from BRepAdaptor.
class BRepGProp_EdgeTool { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Returns the parametric value of the start point of
//! the curve. The curve is oriented from the start point
//! to the end point.
Standard_EXPORT static Standard_Real FirstParameter(const BRepAdaptor_Curve& C) ; //! Returns the parametric value of the end point of
//! the curve. The curve is oriented from the start point
//! to the end point.
Standard_EXPORT static Standard_Real LastParameter(const BRepAdaptor_Curve& C) ; //! Returns the number of Gauss points required to do
//! the integration with a good accuracy using the
//! Gauss method. For a polynomial curve of degree n
//! the maxima of accuracy is obtained with an order
//! of integration equal to 2*n-1.
Standard_EXPORT static Standard_Integer IntegrationOrder(const BRepAdaptor_Curve& C) ; //! Returns the point of parameter U on the loaded curve.
Standard_EXPORT static gp_Pnt Value(const BRepAdaptor_Curve& C,const Standard_Real U) ; //! Returns the point of parameter U and the first derivative
//! at this point.
Standard_EXPORT static void D1(const BRepAdaptor_Curve& C,const Standard_Real U,gp_Pnt& P,gp_Vec& V1) ; //! Returns the number of intervals for continuity
//! . May be one if Continuity(me) >=
Standard_EXPORT static Standard_Integer NbIntervals(const BRepAdaptor_Curve& C,const GeomAbs_Shape S) ; //! Stores in the parameters bounding the intervals
//! of continuity .
//!
//! The array must provide enough room to accomodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT static void Intervals(const BRepAdaptor_Curve& C,TColStd_Array1OfReal& T,const GeomAbs_Shape S) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif