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

ModelingData
TKGeomBase
GCPnts


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:
- defining the point to compute
- implementing the construction algorithm
- consulting the result.
.

#include <GCPnts_AbscissaPoint.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GCPnts_AbscissaPoint ()
Standard_EXPORT GCPnts_AbscissaPoint (Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.

Standard_EXPORT GCPnts_AbscissaPoint (const Standard_Real Tol, Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0)
 the algorithm computes a point on a curve <curve> at
the distance <abscissa> from the point of parameter
<u0> with the given tolerance.

Standard_EXPORT GCPnts_AbscissaPoint (const Standard_Real Tol, Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0)
 the algorithm computes a point on a curve <curve> at
the distance <abscissa> from the point of parameter
<u0> with the given tolerance.

Standard_EXPORT GCPnts_AbscissaPoint (Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.

Standard_EXPORT GCPnts_AbscissaPoint (Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<ui> is the starting value used in the iterative process
which find the solution, it must be close to the final
solution

Standard_EXPORT GCPnts_AbscissaPoint (Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<ui> is the starting value used in the iterative process
which find the solution, it must be closed to the final
solution

Standard_EXPORT GCPnts_AbscissaPoint (Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Tol)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<ui> is the starting value used in the iterative process
which find the solution, it must be close to the final
solution

Standard_EXPORT GCPnts_AbscissaPoint (Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Tol)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<ui> is the starting value used in the iterative process
which find the solution, it must be close to the final
solution

Standard_Boolean IsDone () const
 True if the computation was successful, False otherwise.
IsDone is a protection against:
- non-convergence of the algorithm
- querying the results before computation.
.
Standard_Real 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 Standard_EXPORT Standard_Real Length (Adaptor3d_Curve &C)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (Adaptor2d_Curve2d &C)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (Adaptor3d_Curve &C, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (Adaptor2d_Curve2d &C, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
//! Constructs an empty algorithm. This function is used
only for initializing a framework to compute the length
of a curve (or a series of curves).
Warning
The function IsDone will return the value false after the use of this function.
.

Private Attributes

CPnts_AbscissaPoint myComputer


Constructor & Destructor Documentation

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint  ) 
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint const Standard_Real  Tol,
Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint const Standard_Real  Tol,
Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Tol
 

Standard_EXPORT GCPnts_AbscissaPoint::GCPnts_AbscissaPoint Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Tol
 


Member Function Documentation

Standard_Boolean GCPnts_AbscissaPoint::IsDone  )  const [inline]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor2d_Curve2d C,
const Standard_Real  Tol
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor3d_Curve C,
const Standard_Real  Tol
[static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor2d_Curve2d C  )  [static]
 

static Standard_EXPORT Standard_Real GCPnts_AbscissaPoint::Length Adaptor3d_Curve C  )  [static]
 

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

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

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

Standard_Real GCPnts_AbscissaPoint::Parameter  )  const [inline]
 


Field Documentation

CPnts_AbscissaPoint GCPnts_AbscissaPoint::myComputer [private]
 


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