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

ModelingData
TKGeomBase
CPnts


CPnts_AbscissaPoint Class Reference

the algorithm computes a point on a curve at a given
distance from another point on the curve

We can instantiates with
Curve from Adaptor3d, Pnt from gp, Vec from gp

or
Curve2d from Adaptor2d, Pnt2d from gp, Vec2d from gp

#include <CPnts_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 CPnts_AbscissaPoint ()
Standard_EXPORT CPnts_AbscissaPoint (const Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Resolution)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<resolution> is the error allowed in the computation.
The computed point can be outside of the curve 's bounds.

Standard_EXPORT CPnts_AbscissaPoint (const Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Resolution)
 the algorithm computes a point on a curve <curve> at the
distance <abscissa> from the point of parameter <u0>.
<resolution> is the error allowed in the computation.
The computed point can be outside of the curve 's bounds.

Standard_EXPORT CPnts_AbscissaPoint (const Adaptor3d_Curve &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Resolution)
 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
<resolution> is the error allowed in the computation.
The computed point can be outside of the curve 's bounds.

Standard_EXPORT CPnts_AbscissaPoint (const Adaptor2d_Curve2d &C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Resolution)
 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
<resolution> is the error allowed in the computation.
The computed point can be outside of the curve 's bounds.

Standard_EXPORT void Init (const Adaptor3d_Curve &C)
 Initializes the resolution function with <c>.
.
Standard_EXPORT void Init (const Adaptor2d_Curve2d &C)
 Initializes the resolution function with <c>.
.
Standard_EXPORT void Init (const Adaptor3d_Curve &C, const Standard_Real Tol)
 Initializes the resolution function with <c>.
.
Standard_EXPORT void Init (const Adaptor2d_Curve2d &C, const Standard_Real Tol)
 Initializes the resolution function with <c>.
.
Standard_EXPORT void Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2)
 Initializes the resolution function with <c>
between U1 and U2.
.
Standard_EXPORT void Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2)
 Initializes the resolution function with <c>
between U1 and U2.
.
Standard_EXPORT void Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Initializes the resolution function with <c>
between U1 and U2.
.
Standard_EXPORT void Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Initializes the resolution function with <c>
between U1 and U2.
.
Standard_EXPORT void Perform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Resolution)
 Computes the point at the distance <abscissa> of
the curve.
.
Standard_EXPORT void Perform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Resolution)
 Computes the point at the distance <abscissa> of
the curve.
.
Standard_EXPORT void AdvPerform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Resolution)
 Computes the point at the distance <abscissa> of
the curve; performs more appropriate tolerance managment;
to use this method in right way it is necessary to call
empty consructor. then call method Init with
Tolerance = Resolution, then call AdvPermorm.
.
Standard_Boolean IsDone () const
 True if the computation was successful, False otherwise.
.
Standard_Real Parameter () const
 Returns the parameter of the solution.

.
void SetParameter (const Standard_Real P)
 Enforce the solution, used by GCPnts.

.

Static Public Member Functions

static Standard_EXPORT Standard_Real Length (const Adaptor3d_Curve &C)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (const Adaptor2d_Curve2d &C)
 Computes the length of the Curve <c>.
.
static Standard_EXPORT Standard_Real Length (const Adaptor3d_Curve &C, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (const Adaptor2d_Curve2d &C, const Standard_Real Tol)
 Computes the length of the Curve <c> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve <c> between <u1> and <u2>.
.
static Standard_EXPORT Standard_Real Length (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve <c> between <u1> and <u2>.
.
static Standard_EXPORT Standard_Real Length (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Computes the length of the Curve <c> between <u1> and <u2> with the given tolerance.
.
static Standard_EXPORT Standard_Real Length (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Computes the length of the Curve <c> between <u1> and <u2> with the given tolerance.
//! creation of a indefinite AbscissaPoint.
.

Private Attributes

Standard_Boolean myDone
Standard_Real myL
Standard_Real myParam
Standard_Real myUMin
Standard_Real myUMax
CPnts_MyRootFunction myF


Constructor & Destructor Documentation

Standard_EXPORT CPnts_AbscissaPoint::CPnts_AbscissaPoint  ) 
 

Standard_EXPORT CPnts_AbscissaPoint::CPnts_AbscissaPoint const Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Resolution
 

Standard_EXPORT CPnts_AbscissaPoint::CPnts_AbscissaPoint const Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Resolution
 

Standard_EXPORT CPnts_AbscissaPoint::CPnts_AbscissaPoint const Adaptor3d_Curve C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Resolution
 

Standard_EXPORT CPnts_AbscissaPoint::CPnts_AbscissaPoint const Adaptor2d_Curve2d C,
const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Resolution
 


Member Function Documentation

Standard_EXPORT void CPnts_AbscissaPoint::AdvPerform const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Resolution
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor2d_Curve2d C,
const Standard_Real  Tol
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor3d_Curve C,
const Standard_Real  Tol
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor2d_Curve2d C  ) 
 

Standard_EXPORT void CPnts_AbscissaPoint::Init const Adaptor3d_Curve C  ) 
 

Standard_Boolean CPnts_AbscissaPoint::IsDone  )  const [inline]
 

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

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

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

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

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

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

static Standard_EXPORT Standard_Real CPnts_AbscissaPoint::Length const Adaptor2d_Curve2d C  )  [static]
 

static Standard_EXPORT Standard_Real CPnts_AbscissaPoint::Length const Adaptor3d_Curve C  )  [static]
 

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

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

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

Standard_Real CPnts_AbscissaPoint::Parameter  )  const [inline]
 

Standard_EXPORT void CPnts_AbscissaPoint::Perform const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Ui,
const Standard_Real  Resolution
 

Standard_EXPORT void CPnts_AbscissaPoint::Perform const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Resolution
 

void CPnts_AbscissaPoint::SetParameter const Standard_Real  P  )  [inline]
 


Field Documentation

Standard_Boolean CPnts_AbscissaPoint::myDone [private]
 

CPnts_MyRootFunction CPnts_AbscissaPoint::myF [private]
 

Standard_Real CPnts_AbscissaPoint::myL [private]
 

Standard_Real CPnts_AbscissaPoint::myParam [private]
 

Standard_Real CPnts_AbscissaPoint::myUMax [private]
 

Standard_Real CPnts_AbscissaPoint::myUMin [private]
 


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