Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Geom2dLProp_CurAndInf2d Class Reference

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

#include <Geom2dLProp_CurAndInf2d.hxx>

Inheritance diagram for Geom2dLProp_CurAndInf2d:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC 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.


Detailed Description


Constructor & Destructor Documentation


Member Function Documentation

  • 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: