Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
MAT2d_CutCurve Class Reference

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 occ::handle< Geom2d_Curve > &C)
 
void Perform (const occ::handle< Geom2d_Curve > &C)
 Cuts a curve at the extremas of curvature and at the inflections.
 
void Perform (const occ::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 PerformInf (const occ::handle< Geom2d_Curve > &C)
 Cuts a curve at the inflections.
 
bool UnModified () const
 Returns True if the curve is not cut.
 
int NbCurves () const
 Returns the number of curves. it's always greatest than 2.
 
occ::handle< Geom2d_TrimmedCurveValue (const int Index) const
 Returns the Indexth curve. raises if Index not in the range [1,NbCurves()].
 

Detailed Description

Cuts a curve at the extremas of curvature and at the inflections. Constructs a trimmed Curve for each interval.

Constructor & Destructor Documentation

◆ MAT2d_CutCurve() [1/2]

MAT2d_CutCurve::MAT2d_CutCurve ( )

◆ MAT2d_CutCurve() [2/2]

MAT2d_CutCurve::MAT2d_CutCurve ( const occ::handle< Geom2d_Curve > & C)

Member Function Documentation

◆ NbCurves()

int MAT2d_CutCurve::NbCurves ( ) const

Returns the number of curves. it's always greatest than 2.

raises if the Curve is UnModified;

◆ Perform() [1/2]

void MAT2d_CutCurve::Perform ( const occ::handle< Geom2d_Curve > & C)

Cuts a curve at the extremas of curvature and at the inflections.

◆ Perform() [2/2]

void MAT2d_CutCurve::Perform ( const occ::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>.

◆ PerformInf()

void MAT2d_CutCurve::PerformInf ( const occ::handle< Geom2d_Curve > & C)

Cuts a curve at the inflections.

◆ UnModified()

bool MAT2d_CutCurve::UnModified ( ) const

Returns True if the curve is not cut.

◆ Value()

occ::handle< Geom2d_TrimmedCurve > MAT2d_CutCurve::Value ( const int Index) const

Returns the Indexth curve. raises if Index not in the range [1,NbCurves()].


The documentation for this class was generated from the following file: