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

An algorithm for computing local properties of a curve. These properties include: More...

#include <GeomLProp_CurAndInf2d.hxx>

Inheritance diagram for GeomLProp_CurAndInf2d:
Inheritance graph
[legend]

Public Member Functions

 GeomLProp_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 occ::handle< Geom2d_Curve > &C)
 For the curve C, Computes both the inflection points and the maximum and minimum curvatures.
 
void PerformCurExt (const occ::handle< Geom2d_Curve > &C)
 For the curve C, Computes the locals extremas of curvature.
 
void PerformInf (const occ::handle< Geom2d_Curve > &C)
 For the curve C, Computes the inflections. After computation, the following functions can be used:
 
bool IsDone () const
 True if the solutions are found.
 
- Public Member Functions inherited from LProp_CurAndInf
 LProp_CurAndInf ()
 
void AddInflection (const double Param)
 
void AddExtCur (const double Param, const bool IsMin)
 
void Clear ()
 
bool IsEmpty () const
 
int NbPoints () const
 Returns the number of points. The Points are stored to increasing parameter.
 
double Parameter (const int N) const
 Returns the parameter of the Nth point. raises if N not in the range [1,NbPoints()].
 
LProp_CIType Type (const int N) const
 Returns.
 

Detailed Description

An algorithm for computing local properties of a curve. These properties include:

Constructor & Destructor Documentation

◆ GeomLProp_CurAndInf2d()

GeomLProp_CurAndInf2d::GeomLProp_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.

Member Function Documentation

◆ IsDone()

bool GeomLProp_CurAndInf2d::IsDone ( ) const

True if the solutions are found.

◆ Perform()

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

For the curve C, Computes both the inflection points and the maximum and minimum curvatures.

◆ PerformCurExt()

void GeomLProp_CurAndInf2d::PerformCurExt ( const occ::handle< Geom2d_Curve > & C)

For the curve C, Computes the locals extremas of curvature.

◆ PerformInf()

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

For the curve C, Computes the inflections. After computation, the following functions can be used:

  • IsDone to check if the computation was successful
  • NbPoints to obtain the number of computed particular points
  • Parameter to obtain the parameter on the curve for each particular point
  • Type to check if the point is an inflection point or an extremum of curvature of the curve C. Warning These functions can be used to analyze a series of curves, however it is necessary to clear the table of results between each computation.

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