Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GCPnts_UniformAbscissa Class Reference

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
 
 GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const double theAbscissa, const double theToler=-1)
 Computes a uniform abscissa distribution of points on the 3D curve.
 
 GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const double theAbscissa, const double theU1, const double theU2, const double theToler=-1)
 Computes a Uniform abscissa distribution of points on a part of the 3D Curve.
 
 GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const int theNbPoints, const double theToler=-1)
 Computes a uniform abscissa distribution of points on the 3D Curve.
 
 GCPnts_UniformAbscissa (const Adaptor3d_Curve &theC, const int theNbPoints, const double theU1, const double theU2, const double theToler=-1)
 Computes a Uniform abscissa distribution of points on a part of the 3D Curve.
 
void Initialize (const Adaptor3d_Curve &theC, const double theAbscissa, const double theToler=-1)
 Initialize the algorithms with 3D curve, Abscissa, and Tolerance.
 
void Initialize (const Adaptor3d_Curve &theC, const double theAbscissa, const double theU1, const double theU2, const double theToler=-1)
 Initialize the algorithms with 3D curve, Abscissa, Tolerance, and parameter range.
 
void Initialize (const Adaptor3d_Curve &theC, const int theNbPoints, const double theToler=-1)
 Initialize the algorithms with 3D curve, number of points, and Tolerance.
 
void Initialize (const Adaptor3d_Curve &theC, const int theNbPoints, const double theU1, const double theU2, const double theToler=-1)
 Initialize the algorithms with 3D curve, number of points, Tolerance, and parameter range.
 
 GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theToler=-1)
 Computes a uniform abscissa distribution of points on the 2D curve.
 
 GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU1, const double theU2, const double theToler=-1)
 Computes a Uniform abscissa distribution of points on a part of the 2D Curve.
 
 GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const int theNbPoints, const double theToler=-1)
 Computes a uniform abscissa distribution of points on the 2D Curve.
 
 GCPnts_UniformAbscissa (const Adaptor2d_Curve2d &theC, const int theNbPoints, const double theU1, const double theU2, const double theToler=-1)
 Computes a Uniform abscissa distribution of points on a part of the 2D Curve.
 
void Initialize (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theToler=-1)
 Initialize the algorithms with 2D curve, Abscissa, and Tolerance.
 
void Initialize (const Adaptor2d_Curve2d &theC, const double theAbscissa, const double theU1, const double theU2, const double theToler=-1)
 Initialize the algorithms with 2D curve, Abscissa, Tolerance, and parameter range.
 
void Initialize (const Adaptor2d_Curve2d &theC, const int theNbPoints, const double theToler=-1)
 Initialize the algorithms with 2D curve, number of points, and Tolerance.
 
void Initialize (const Adaptor2d_Curve2d &theC, const int theNbPoints, const double theU1, const double theU2, const double theToler=-1)
 Initialize the algorithms with 2D curve, number of points, Tolerance, and parameter range.
 
bool IsDone () const
 
int NbPoints () const
 
double Parameter (const int Index) const
 returns the computed Parameter of index <Index>.
 
double Abscissa () const
 Returns the current abscissa, i.e. the distance between two consecutive points.
 

Detailed Description

This class allows to compute a uniform distribution of points on a curve (i.e. the points will all be equally distant).

Constructor & Destructor Documentation

◆ GCPnts_UniformAbscissa() [1/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( )

creation of a indefinite UniformAbscissa

◆ GCPnts_UniformAbscissa() [2/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theToler = -1 )

Computes a uniform abscissa distribution of points on the 3D curve.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [3/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU1,
const double theU2,
const double theToler = -1 )

Computes a Uniform abscissa distribution of points on a part of the 3D Curve.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [4/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor3d_Curve & theC,
const int theNbPoints,
const double theToler = -1 )

Computes a uniform abscissa distribution of points on the 3D Curve.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [5/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor3d_Curve & theC,
const int theNbPoints,
const double theU1,
const double theU2,
const double theToler = -1 )

Computes a Uniform abscissa distribution of points on a part of the 3D Curve.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [6/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theToler = -1 )

Computes a uniform abscissa distribution of points on the 2D curve.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [7/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU1,
const double theU2,
const double theToler = -1 )

Computes a Uniform abscissa distribution of points on a part of the 2D Curve.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [8/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor2d_Curve2d & theC,
const int theNbPoints,
const double theToler = -1 )

Computes a uniform abscissa distribution of points on the 2D Curve.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ GCPnts_UniformAbscissa() [9/9]

GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ( const Adaptor2d_Curve2d & theC,
const int theNbPoints,
const double theU1,
const double theU2,
const double theToler = -1 )

Computes a Uniform abscissa distribution of points on a part of the 2D Curve.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

Member Function Documentation

◆ Abscissa()

double GCPnts_UniformAbscissa::Abscissa ( ) const
inline

Returns the current abscissa, i.e. the distance between two consecutive points.

◆ Initialize() [1/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theToler = -1 )

Initialize the algorithms with 2D curve, Abscissa, and Tolerance.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [2/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor2d_Curve2d & theC,
const double theAbscissa,
const double theU1,
const double theU2,
const double theToler = -1 )

Initialize the algorithms with 2D curve, Abscissa, Tolerance, and parameter range.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [3/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor2d_Curve2d & theC,
const int theNbPoints,
const double theToler = -1 )

Initialize the algorithms with 2D curve, number of points, and Tolerance.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [4/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor2d_Curve2d & theC,
const int theNbPoints,
const double theU1,
const double theU2,
const double theToler = -1 )

Initialize the algorithms with 2D curve, number of points, Tolerance, and parameter range.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [5/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theToler = -1 )

Initialize the algorithms with 3D curve, Abscissa, and Tolerance.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [6/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor3d_Curve & theC,
const double theAbscissa,
const double theU1,
const double theU2,
const double theToler = -1 )

Initialize the algorithms with 3D curve, Abscissa, Tolerance, and parameter range.

Parameters
[in]theCinput curve
[in]theAbscissaabscissa (distance between two consecutive points)
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [7/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor3d_Curve & theC,
const int theNbPoints,
const double theToler = -1 )

Initialize the algorithms with 3D curve, number of points, and Tolerance.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ Initialize() [8/8]

void GCPnts_UniformAbscissa::Initialize ( const Adaptor3d_Curve & theC,
const int theNbPoints,
const double theU1,
const double theU2,
const double theToler = -1 )

Initialize the algorithms with 3D curve, number of points, Tolerance, and parameter range.

Parameters
[in]theCinput curve
[in]theNbPointsdefines the number of desired points
[in]theU1first parameter on curve
[in]theU2last parameter on curve
[in]theTolerused for more precise calculation of curve length (Precision::Confusion() by default)

◆ IsDone()

bool GCPnts_UniformAbscissa::IsDone ( ) const
inline

◆ NbPoints()

int GCPnts_UniformAbscissa::NbPoints ( ) const
inline

◆ Parameter()

double GCPnts_UniformAbscissa::Parameter ( const int Index) const
inline

returns the computed Parameter of index <Index>.


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