Open CASCADE Technology
6.5.4
|
Provides the required methods to instantiate
CGProps from GProp with a Curve from BRepAdaptor.
#include <BRepGProp_EdgeTool.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC Standard_Real | FirstParameter (const BRepAdaptor_Curve &C) |
Returns the parametric value of the start point of the curve. The curve is oriented from the start point to the end point. | |
static Standard_Real | LastParameter (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. | |
static Standard_Integer | IntegrationOrder (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. | |
static gp_Pnt | Value (const BRepAdaptor_Curve &C, const Standard_Real U) |
Returns the point of parameter U on the loaded curve. | |
static void | D1 (const BRepAdaptor_Curve &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V1) |
Returns the point of parameter U and the first derivative at this point. | |
static Standard_Integer | NbIntervals (const BRepAdaptor_Curve &C, const GeomAbs_Shape S) |
Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S> | |
static void | Intervals (const BRepAdaptor_Curve &C, TColStd_Array1OfReal &T, const GeomAbs_Shape S) |
Stores in <T> the parameters bounding the intervals of continuity <S>. The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals() |
static void BRepGProp_EdgeTool::D1 | ( | const BRepAdaptor_Curve & | C, |
const Standard_Real | U, | ||
gp_Pnt & | P, | ||
gp_Vec & | V1 | ||
) | [static] |
static DEFINE_STANDARD_ALLOC Standard_Real BRepGProp_EdgeTool::FirstParameter | ( | const BRepAdaptor_Curve & | C | ) | [static] |
static Standard_Integer BRepGProp_EdgeTool::IntegrationOrder | ( | const BRepAdaptor_Curve & | C | ) | [static] |
static void BRepGProp_EdgeTool::Intervals | ( | const BRepAdaptor_Curve & | C, |
TColStd_Array1OfReal & | T, | ||
const GeomAbs_Shape | S | ||
) | [static] |
static Standard_Real BRepGProp_EdgeTool::LastParameter | ( | const BRepAdaptor_Curve & | C | ) | [static] |
static Standard_Integer BRepGProp_EdgeTool::NbIntervals | ( | const BRepAdaptor_Curve & | C, |
const GeomAbs_Shape | S | ||
) | [static] |
static gp_Pnt BRepGProp_EdgeTool::Value | ( | const BRepAdaptor_Curve & | C, |
const Standard_Real | U | ||
) | [static] |