Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
GCPnts_AbscissaPoint Class Reference

Provides an algorithm to compute a point on a curve situated at a given distance from another point on the curve, the distance being measured along the curve (curvilinear abscissa on the curve). This algorithm is also used to compute the length of a curve. An AbscissaPoint object provides a framework for: More...

#include <GCPnts_AbscissaPoint.hxx>

Public Member Functions

 GCPnts_AbscissaPoint ()
 Empty constructor.
 
 GCPnts_AbscissaPoint (const Adaptor3d_Curve &theC, const double theAbscissa, const double theU0)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0.
 
 GCPnts_AbscissaPoint (const double theTol, const Adaptor3d_Curve &theC, const double theAbscissa, const double theU0)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0 with the given tolerance.
 
 GCPnts_AbscissaPoint (const double theTol, const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU0)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0 with the given tolerance.
 
 GCPnts_AbscissaPoint (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU0)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0.
 
 GCPnts_AbscissaPoint (const Adaptor3d_Curve &theC, const double theAbscissa, const double theU0, const double theUi)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.
 
 GCPnts_AbscissaPoint (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU0, const double theUi)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be closed to the final solution.
 
 GCPnts_AbscissaPoint (const Adaptor3d_Curve &theC, const double theAbscissa, const double theU0, const double theUi, const double theTol)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.
 
 GCPnts_AbscissaPoint (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU0, const double theUi, const double theTol)
 The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.
 
bool IsDone () const
 True if the computation was successful, False otherwise. IsDone is a protection against:
 
double Parameter () const
 Returns the parameter on the curve of the point solution of this algorithm. Exceptions StdFail_NotDone if the computation was not successful, or was not done.
 

Static Public Member Functions

static double Length (const Adaptor3d_Curve &theC)
 Computes the length of the 3D Curve.
 
static double Length (const Adaptor2d_Curve2d &theC)
 Computes the length of the 2D Curve.
 
static double Length (const Adaptor3d_Curve &theC, const double theTol)
 Computes the length of the 3D Curve with the given tolerance.
 
static double Length (const Adaptor2d_Curve2d &theC, const double theTol)
 Computes the length of the 2D Curve with the given tolerance.
 
static double Length (const Adaptor3d_Curve &theC, const double theU1, const double theU2)
 Computes the length of the 3D Curve.
 
static double Length (const Adaptor2d_Curve2d &theC, const double theU1, const double theU2)
 Computes the length of the 2D Curve.
 
static double Length (const Adaptor3d_Curve &theC, const double theU1, const double theU2, const double theTol)
 Computes the length of the 3D Curve with the given tolerance.
 
static double Length (const Adaptor2d_Curve2d &theC, const double theU1, const double theU2, const double theTol)
 Computes the length of the Curve with the given tolerance.
 

Detailed Description

Provides an algorithm to compute a point on a curve situated at a given distance from another point on the curve, the distance being measured along the curve (curvilinear abscissa on the curve). This algorithm is also used to compute the length of a curve. An AbscissaPoint object provides a framework for:

Constructor & Destructor Documentation

◆ GCPnts_AbscissaPoint() [1/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( )

Empty constructor.

◆ GCPnts_AbscissaPoint() [2/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU0 )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0.

◆ GCPnts_AbscissaPoint() [3/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const double theTol,
const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU0 )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0 with the given tolerance.

◆ GCPnts_AbscissaPoint() [4/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const double theTol,
const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU0 )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0 with the given tolerance.

◆ GCPnts_AbscissaPoint() [5/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU0 )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0.

◆ GCPnts_AbscissaPoint() [6/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU0,
const double theUi )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.

◆ GCPnts_AbscissaPoint() [7/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU0,
const double theUi )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be closed to the final solution.

◆ GCPnts_AbscissaPoint() [8/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU0,
const double theUi,
const double theTol )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.

◆ GCPnts_AbscissaPoint() [9/9]

GCPnts_AbscissaPoint::GCPnts_AbscissaPoint ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU0,
const double theUi,
const double theTol )

The algorithm computes a point on a curve at the distance theAbscissa from the point of parameter theU0. theUi is the starting value used in the iterative process which find the solution, it must be close to the final solution.

Member Function Documentation

◆ IsDone()

bool GCPnts_AbscissaPoint::IsDone ( ) const
inline

True if the computation was successful, False otherwise. IsDone is a protection against:

  • non-convergence of the algorithm
  • querying the results before computation.

◆ Length() [1/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d & theC)
static

Computes the length of the 2D Curve.

◆ Length() [2/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d & theC,
const double theTol )
static

Computes the length of the 2D Curve with the given tolerance.

◆ Length() [3/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d & theC,
const double theU1,
const double theU2 )
static

Computes the length of the 2D Curve.

◆ Length() [4/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d & theC,
const double theU1,
const double theU2,
const double theTol )
static

Computes the length of the Curve with the given tolerance.

◆ Length() [5/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor3d_Curve & theC)
static

Computes the length of the 3D Curve.

◆ Length() [6/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor3d_Curve & theC,
const double theTol )
static

Computes the length of the 3D Curve with the given tolerance.

◆ Length() [7/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor3d_Curve & theC,
const double theU1,
const double theU2 )
static

Computes the length of the 3D Curve.

◆ Length() [8/8]

static double GCPnts_AbscissaPoint::Length ( const Adaptor3d_Curve & theC,
const double theU1,
const double theU2,
const double theTol )
static

Computes the length of the 3D Curve with the given tolerance.

◆ Parameter()

double GCPnts_AbscissaPoint::Parameter ( ) const
inline

Returns the parameter on the curve of the point solution of this algorithm. Exceptions StdFail_NotDone if the computation was not successful, or was not done.


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