Open CASCADE Technology
6.5.4
|
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 | |
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 (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 (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 (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. | |
void | Init (const Adaptor3d_Curve &C) |
Initializes the resolution function with . | |
void | Init (const Adaptor2d_Curve2d &C) |
Initializes the resolution function with . | |
void | Init (const Adaptor3d_Curve &C, const Standard_Real Tol) |
Initializes the resolution function with . | |
void | Init (const Adaptor2d_Curve2d &C, const Standard_Real Tol) |
Initializes the resolution function with . | |
void | Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2) |
Initializes the resolution function with | |
void | Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2) |
Initializes the resolution function with | |
void | Init (const Adaptor3d_Curve &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol) |
Initializes the resolution function with | |
void | Init (const Adaptor2d_Curve2d &C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol) |
Initializes the resolution function with | |
void | Perform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Resolution) |
Computes the point at the distance <Abscissa> of the curve. | |
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. | |
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 DEFINE_STANDARD_ALLOC Standard_Real | Length (const Adaptor3d_Curve &C) |
Computes the length of the Curve . | |
static Standard_Real | Length (const Adaptor2d_Curve2d &C) |
Computes the length of the Curve . | |
static Standard_Real | Length (const Adaptor3d_Curve &C, const Standard_Real Tol) |
Computes the length of the Curve with the given tolerance. | |
static Standard_Real | Length (const Adaptor2d_Curve2d &C, const Standard_Real Tol) |
Computes the length of the Curve with the given tolerance. | |
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>. | |
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>. | |
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. | |
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. |
CPnts_AbscissaPoint::CPnts_AbscissaPoint | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | Abscissa, | ||
const Standard_Real | U0, | ||
const Standard_Real | Resolution | ||
) |
CPnts_AbscissaPoint::CPnts_AbscissaPoint | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | Abscissa, | ||
const Standard_Real | U0, | ||
const Standard_Real | Resolution | ||
) |
CPnts_AbscissaPoint::CPnts_AbscissaPoint | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | Abscissa, | ||
const Standard_Real | U0, | ||
const Standard_Real | Ui, | ||
const Standard_Real | Resolution | ||
) |
CPnts_AbscissaPoint::CPnts_AbscissaPoint | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | Abscissa, | ||
const Standard_Real | U0, | ||
const Standard_Real | Ui, | ||
const Standard_Real | Resolution | ||
) |
void CPnts_AbscissaPoint::AdvPerform | ( | const Standard_Real | Abscissa, |
const Standard_Real | U0, | ||
const Standard_Real | Ui, | ||
const Standard_Real | Resolution | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | Tol | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | Tol | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2 | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2 | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2, | ||
const Standard_Real | Tol | ||
) |
void CPnts_AbscissaPoint::Init | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2, | ||
const Standard_Real | Tol | ||
) |
Standard_Boolean CPnts_AbscissaPoint::IsDone | ( | ) | const |
static DEFINE_STANDARD_ALLOC Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor3d_Curve & | C | ) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor2d_Curve2d & | C | ) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | Tol | ||
) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | Tol | ||
) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2 | ||
) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2 | ||
) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor3d_Curve & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2, | ||
const Standard_Real | Tol | ||
) | [static] |
static Standard_Real CPnts_AbscissaPoint::Length | ( | const Adaptor2d_Curve2d & | C, |
const Standard_Real | U1, | ||
const Standard_Real | U2, | ||
const Standard_Real | Tol | ||
) | [static] |
Standard_Real CPnts_AbscissaPoint::Parameter | ( | ) | const |
void CPnts_AbscissaPoint::Perform | ( | const Standard_Real | Abscissa, |
const Standard_Real | U0, | ||
const Standard_Real | Resolution | ||
) |
void CPnts_AbscissaPoint::Perform | ( | const Standard_Real | Abscissa, |
const Standard_Real | U0, | ||
const Standard_Real | Ui, | ||
const Standard_Real | Resolution | ||
) |