Open CASCADE Technology 7.8.0
|
An algorithm for computing local properties of a curve. These properties include: More...
#include <Geom2dLProp_CurAndInf2d.hxx>
Public Member Functions | |
Geom2dLProp_CurAndInf2d () | |
Initializes the framework. Note: The curve on which the local properties are computed is defined using one of the following functions: Perform, PerformCurExt or PerformInf. | |
void | Perform (const Handle< Geom2d_Curve > &C) |
For the curve C, Computes both the inflection points and the maximum and minimum curvatures. | |
void | PerformCurExt (const Handle< Geom2d_Curve > &C) |
For the curve C, Computes the locals extremas of curvature. | |
void | PerformInf (const Handle< Geom2d_Curve > &C) |
For the curve C, Computes the inflections. After computation, the following functions can be used: | |
Standard_Boolean | IsDone () const |
True if the solutions are found. | |
Public Member Functions inherited from LProp_CurAndInf | |
LProp_CurAndInf () | |
void | AddInflection (const Standard_Real Param) |
void | AddExtCur (const Standard_Real Param, const Standard_Boolean IsMin) |
void | Clear () |
Standard_Boolean | IsEmpty () const |
Standard_Integer | NbPoints () const |
Returns the number of points. The Points are stored to increasing parameter. | |
Standard_Real | Parameter (const Standard_Integer N) const |
Returns the parameter of the Nth point. raises if N not in the range [1,NbPoints()]. | |
LProp_CIType | Type (const Standard_Integer N) const |
Returns. | |
An algorithm for computing local properties of a curve. These properties include:
Geom2dLProp_CurAndInf2d::Geom2dLProp_CurAndInf2d | ( | ) |
Initializes the framework. Note: The curve on which the local properties are computed is defined using one of the following functions: Perform, PerformCurExt or PerformInf.
Standard_Boolean Geom2dLProp_CurAndInf2d::IsDone | ( | ) | const |
True if the solutions are found.
void Geom2dLProp_CurAndInf2d::Perform | ( | const Handle< Geom2d_Curve > & | C | ) |
For the curve C, Computes both the inflection points and the maximum and minimum curvatures.
void Geom2dLProp_CurAndInf2d::PerformCurExt | ( | const Handle< Geom2d_Curve > & | C | ) |
For the curve C, Computes the locals extremas of curvature.
void Geom2dLProp_CurAndInf2d::PerformInf | ( | const Handle< Geom2d_Curve > & | C | ) |
For the curve C, Computes the inflections. After computation, the following functions can be used: