Open CASCADE Technology
6.9.0
|
Cuts a curve at the extremas of curvature and at the inflections. Constructs a trimmed Curve for each interval. More...
#include <MAT2d_CutCurve.hxx>
Public Member Functions | |
MAT2d_CutCurve () | |
MAT2d_CutCurve (const Handle< Geom2d_Curve > &C) | |
void | Perform (const Handle< Geom2d_Curve > &C) |
Cuts a curve at the extremas of curvature and at the inflections. More... | |
void | Perform (const Handle< Geom2d_Curve > &C, const MAT_Side aSide) |
Cuts a curve at the inflections, and at the extremas of curvature where the concavity is on <aSide>. More... | |
void | PerformInf (const Handle< Geom2d_Curve > &C) |
Cuts a curve at the inflections. More... | |
Standard_Boolean | UnModified () const |
Returns True if the curve is not cut. More... | |
Standard_Integer | NbCurves () const |
Returns the number of curves. it's allways greatest than 2. More... | |
Handle< Geom2d_TrimmedCurve > | Value (const Standard_Integer Index) const |
Returns the Indexth curve. raises if Index not in the range [1,NbCurves()]. More... | |
Cuts a curve at the extremas of curvature and at the inflections. Constructs a trimmed Curve for each interval.
MAT2d_CutCurve::MAT2d_CutCurve | ( | ) |
MAT2d_CutCurve::MAT2d_CutCurve | ( | const Handle< Geom2d_Curve > & | C | ) |
Standard_Integer MAT2d_CutCurve::NbCurves | ( | ) | const |
Returns the number of curves. it's allways greatest than 2.
raises if the Curve is UnModified;
void MAT2d_CutCurve::Perform | ( | const Handle< Geom2d_Curve > & | C | ) |
Cuts a curve at the extremas of curvature and at the inflections.
void MAT2d_CutCurve::Perform | ( | const Handle< Geom2d_Curve > & | C, |
const MAT_Side | aSide | ||
) |
Cuts a curve at the inflections, and at the extremas of curvature where the concavity is on <aSide>.
void MAT2d_CutCurve::PerformInf | ( | const Handle< Geom2d_Curve > & | C | ) |
Cuts a curve at the inflections.
Standard_Boolean MAT2d_CutCurve::UnModified | ( | ) | const |
Returns True if the curve is not cut.
Handle< Geom2d_TrimmedCurve > MAT2d_CutCurve::Value | ( | const Standard_Integer | Index | ) | const |
Returns the Indexth curve. raises if Index not in the range [1,NbCurves()].