Open CASCADE Technology
7.6.0
|
This class allows to compute a uniform distribution of points on a curve (i.e. the points will all be equally distant). More...
#include <GCPnts_UniformAbscissa.hxx>
Public Member Functions | |
GCPnts_UniformAbscissa () | |
creation of a indefinite UniformAbscissa More... | |
GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const Standard_Real theAbscissa, const Standard_Real theToler=-1) | |
Computes a uniform abscissa distribution of points on the 3D curve. More... | |
GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) | |
Computes a Uniform abscissa distribution of points on a part of the 3D Curve. More... | |
GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const Standard_Integer theNbPoints, const Standard_Real theToler=-1) | |
Computes a uniform abscissa distribution of points on the 3D Curve. More... | |
GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) | |
Computes a Uniform abscissa distribution of points on a part of the 3D Curve. More... | |
void | Initialize (const Adaptor3d_Curve &theC, const Standard_Real theAbscissa, const Standard_Real theToler=-1) |
Initialize the algorithms with 3D curve, Abscissa, and Tolerance. More... | |
void | Initialize (const Adaptor3d_Curve &theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) |
Initialize the algorithms with 3D curve, Abscissa, Tolerance, and parameter range. More... | |
void | Initialize (const Adaptor3d_Curve &theC, const Standard_Integer theNbPoints, const Standard_Real theToler=-1) |
Initialize the algorithms with 3D curve, number of points, and Tolerance. More... | |
void | Initialize (const Adaptor3d_Curve &theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) |
Initialize the algorithms with 3D curve, number of points, Tolerance, and parameter range. More... | |
GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const Standard_Real theAbscissa, const Standard_Real theToler=-1) | |
Computes a uniform abscissa distribution of points on the 2D curve. More... | |
GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) | |
Computes a Uniform abscissa distribution of points on a part of the 2D Curve. More... | |
GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const Standard_Integer theNbPoints, const Standard_Real theToler=-1) | |
Computes a uniform abscissa distribution of points on the 2D Curve. More... | |
GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) | |
Computes a Uniform abscissa distribution of points on a part of the 2D Curve. More... | |
void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Real theAbscissa, const Standard_Real theToler=-1) |
Initialize the algorithms with 2D curve, Abscissa, and Tolerance. More... | |
void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) |
Initialize the algorithms with 2D curve, Abscissa, Tolerance, and parameter range. More... | |
void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Integer theNbPoints, const Standard_Real theToler=-1) |
Initialize the algorithms with 2D curve, number of points, and Tolerance. More... | |
void | Initialize (const Adaptor2d_Curve2d &theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler=-1) |
Initialize the algorithms with 2D curve, number of points, Tolerance, and parameter range. More... | |
Standard_Boolean | IsDone () const |
Standard_Integer | NbPoints () const |
Standard_Real | Parameter (const Standard_Integer Index) const |
returns the computed Parameter of index <Index>. More... | |
Standard_Real | Abscissa () const |
Returns the current abscissa, i.e. the distance between two consecutive points. More... | |
This class allows to compute a uniform distribution of points on a curve (i.e. the points will all be equally distant).
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | ) |
creation of a indefinite UniformAbscissa
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor3d_Curve & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a uniform abscissa distribution of points on the 3D curve.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor3d_Curve & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a Uniform abscissa distribution of points on a part of the 3D Curve.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor3d_Curve & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a uniform abscissa distribution of points on the 3D Curve.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor3d_Curve & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a Uniform abscissa distribution of points on a part of the 3D Curve.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a uniform abscissa distribution of points on the 2D curve.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a Uniform abscissa distribution of points on a part of the 2D Curve.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a uniform abscissa distribution of points on the 2D Curve.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Computes a Uniform abscissa distribution of points on a part of the 2D Curve.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
|
inline |
Returns the current abscissa, i.e. the distance between two consecutive points.
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 2D curve, number of points, and Tolerance.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 2D curve, number of points, Tolerance, and parameter range.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 2D curve, Abscissa, and Tolerance.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor2d_Curve2d & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 2D curve, Abscissa, Tolerance, and parameter range.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor3d_Curve & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 3D curve, number of points, and Tolerance.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor3d_Curve & | theC, |
const Standard_Integer | theNbPoints, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 3D curve, number of points, Tolerance, and parameter range.
theC | [in] input curve |
theNbPoints | [in] defines the number of desired points |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor3d_Curve & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 3D curve, Abscissa, and Tolerance.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
void GCPnts_UniformAbscissa::Initialize | ( | const Adaptor3d_Curve & | theC, |
const Standard_Real | theAbscissa, | ||
const Standard_Real | theU1, | ||
const Standard_Real | theU2, | ||
const Standard_Real | theToler = -1 |
||
) |
Initialize the algorithms with 3D curve, Abscissa, Tolerance, and parameter range.
theC | [in] input curve |
theAbscissa | [in] abscissa (distance between two consecutive points) |
theU1 | [in] first parameter on curve |
theU2 | [in] last parameter on curve |
theToler | [in] used for more precise calculation of curve length (Precision::Confusion() by default) |
|
inline |
|
inline |
|
inline |
returns the computed Parameter of index <Index>.