OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKG2d
Geom2dLProp


Geom2dLProp_CurAndInf2d Class Reference

An algorithm for computing local properties of a curve.
These properties include:
- the maximum and minimum curvatures
- the inflection points.
A CurAndInf2d object provides the framework for:
- defining the curve to be analyzed
- implementing the computation algorithms
- consulting the results.
.

#include <Geom2dLProp_CurAndInf2d.hxx>

Inheritance diagram for Geom2dLProp_CurAndInf2d:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT 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_EXPORT void Perform (const Handle(Geom2d_Curve)&C)
 For the curve C, Computes both the
inflection points and the maximum and minimum curvatures.
.
Standard_EXPORT void PerformCurExt (const Handle(Geom2d_Curve)&C)
 For the curve C, Computes the locals extremas of curvature.
.
Standard_EXPORT void PerformInf (const 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.
.
Standard_EXPORT Standard_Boolean IsDone () const
 True if the solutions are found.
.

Private Attributes

Standard_Boolean isDone

Constructor & Destructor Documentation

Standard_EXPORT Geom2dLProp_CurAndInf2d::Geom2dLProp_CurAndInf2d  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Boolean Geom2dLProp_CurAndInf2d::IsDone  )  const
 

void Geom2dLProp_CurAndInf2d::operator delete void *  anAddress  )  [inline]
 

Reimplemented from LProp_CurAndInf.

void* Geom2dLProp_CurAndInf2d::operator new size_t  size  )  [inline]
 

Reimplemented from LProp_CurAndInf.

void* Geom2dLProp_CurAndInf2d::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from LProp_CurAndInf.

Standard_EXPORT void Geom2dLProp_CurAndInf2d::Perform const Handle(Geom2d_Curve)&  C  ) 
 

Standard_EXPORT void Geom2dLProp_CurAndInf2d::PerformCurExt const Handle(Geom2d_Curve)&  C  ) 
 

Standard_EXPORT void Geom2dLProp_CurAndInf2d::PerformInf const Handle(Geom2d_Curve)&  C  ) 
 


Field Documentation

Standard_Boolean Geom2dLProp_CurAndInf2d::isDone [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:50 2008 for OpenCASCADE by  doxygen 1.4.1