Open CASCADE Technology  6.9.0
Public Member Functions | Static Public Member Functions
CPnts_AbscissaPoint Class Reference

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

#include <CPnts_AbscissaPoint.hxx>

Public Member Functions

 CPnts_AbscissaPoint ()
 
 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. More...
 
 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. More...
 
 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. More...
 
 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. More...
 
void Init (const Adaptor3d_Curve &C)
 Initializes the resolution function with . More...
 
void Init (const Adaptor2d_Curve2d &C)
 Initializes the resolution function with . More...
 
void Init (const Adaptor3d_Curve &C, const Standard_Real Tol)
 Initializes the resolution function with . More...
 
void Init (const Adaptor2d_Curve2d &C, const Standard_Real Tol)
 Initializes the resolution function with . More...
 
void Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2)
 Initializes the resolution function with between U1 and U2. More...
 
void Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2)
 Initializes the resolution function with between U1 and U2. More...
 
void Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Initializes the resolution function with between U1 and U2. More...
 
void Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol)
 Initializes the resolution function with between U1 and U2. More...
 
void Perform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Resolution)
 Computes the point at the distance <Abscissa> of the curve. More...
 
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. More...
 
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. More...
 
Standard_Boolean IsDone () const
 True if the computation was successful, False otherwise. More...
 
Standard_Real Parameter () const
 Returns the parameter of the solution. More...
 
void SetParameter (const Standard_Real P)
 Enforce the solution, used by GCPnts. More...
 

Static Public Member Functions

static Standard_Real Length (const Adaptor3d_Curve &C)
 Computes the length of the Curve . More...
 
static Standard_Real Length (const Adaptor2d_Curve2d &C)
 Computes the length of the Curve . More...
 
static Standard_Real Length (const Adaptor3d_Curve &C, const Standard_Real Tol)
 Computes the length of the Curve with the given tolerance. More...
 
static Standard_Real Length (const Adaptor2d_Curve2d &C, const Standard_Real Tol)
 Computes the length of the Curve with the given tolerance. More...
 
static Standard_Real Length (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve between <U1> and <U2>. More...
 
static Standard_Real Length (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2)
 Computes the length of the Curve between <U1> and <U2>. More...
 
static 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 between <U1> and <U2> with the given tolerance. More...
 
static 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 between <U1> and <U2> with the given tolerance. creation of a indefinite AbscissaPoint. More...
 

Detailed Description

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

Constructor & Destructor Documentation

CPnts_AbscissaPoint::CPnts_AbscissaPoint ( )
CPnts_AbscissaPoint::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.

CPnts_AbscissaPoint::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.

CPnts_AbscissaPoint::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.

CPnts_AbscissaPoint::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.

Member Function Documentation

void CPnts_AbscissaPoint::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.

void CPnts_AbscissaPoint::Init ( const Adaptor3d_Curve C)

Initializes the resolution function with .

void CPnts_AbscissaPoint::Init ( const Adaptor2d_Curve2d C)

Initializes the resolution function with .

void CPnts_AbscissaPoint::Init ( const Adaptor3d_Curve C,
const Standard_Real  Tol 
)

Initializes the resolution function with .

void CPnts_AbscissaPoint::Init ( const Adaptor2d_Curve2d C,
const Standard_Real  Tol 
)

Initializes the resolution function with .

void CPnts_AbscissaPoint::Init ( const Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2 
)

Initializes the resolution function with between U1 and U2.

void CPnts_AbscissaPoint::Init ( const Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2 
)

Initializes the resolution function with between U1 and U2.

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

Initializes the resolution function with between U1 and U2.

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

Initializes the resolution function with between U1 and U2.

Standard_Boolean CPnts_AbscissaPoint::IsDone ( ) const

True if the computation was successful, False otherwise.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor3d_Curve C)
static

Computes the length of the Curve .

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d C)
static

Computes the length of the Curve .

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor3d_Curve C,
const Standard_Real  Tol 
)
static

Computes the length of the Curve with the given tolerance.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d C,
const Standard_Real  Tol 
)
static

Computes the length of the Curve with the given tolerance.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2 
)
static

Computes the length of the Curve between <U1> and <U2>.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2 
)
static

Computes the length of the Curve between <U1> and <U2>.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor3d_Curve C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol 
)
static

Computes the length of the Curve between <U1> and <U2> with the given tolerance.

static Standard_Real CPnts_AbscissaPoint::Length ( const Adaptor2d_Curve2d C,
const Standard_Real  U1,
const Standard_Real  U2,
const Standard_Real  Tol 
)
static

Computes the length of the Curve between <U1> and <U2> with the given tolerance. creation of a indefinite AbscissaPoint.

Standard_Real CPnts_AbscissaPoint::Parameter ( ) const

Returns the parameter of the solution.

void CPnts_AbscissaPoint::Perform ( const Standard_Real  Abscissa,
const Standard_Real  U0,
const Standard_Real  Resolution 
)

Computes the point at the distance <Abscissa> of the curve.

void CPnts_AbscissaPoint::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.

void CPnts_AbscissaPoint::SetParameter ( const Standard_Real  P)

Enforce the solution, used by GCPnts.


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