Open CASCADE Technology 7.8.2.dev
GeomLib_MakeCurvefromApprox Class Reference

this class is used to construct the BSpline curve from an Approximation ( ApproxAFunction from AdvApprox). More...

#include <GeomLib_MakeCurvefromApprox.hxx>

Public Member Functions

 GeomLib_MakeCurvefromApprox (const AdvApprox_ApproxAFunction &Approx)
 
Standard_Boolean IsDone () const
 
Standard_Integer Nb1DSpaces () const
 returns the number of 1D spaces of the Approx
 
Standard_Integer Nb2DSpaces () const
 returns the number of 3D spaces of the Approx
 
Standard_Integer Nb3DSpaces () const
 returns the number of 3D spaces of the Approx
 
Handle< Geom2d_BSplineCurveCurve2d (const Standard_Integer Index2d) const
 returns a polynomial curve whose poles correspond to the Index2d 2D space if Index2d not in the Range [1,Nb2dSpaces] if the Approx is not Done
 
Handle< Geom2d_BSplineCurveCurve2dFromTwo1d (const Standard_Integer Index1d, const Standard_Integer Index2d) const
 returns a 2D curve building it from the 1D curve in x at Index1d and y at Index2d amongst the 1D curves if Index1d not in the Range [1,Nb1dSpaces] if Index2d not in the Range [1,Nb1dSpaces] if the Approx is not Done
 
Handle< Geom2d_BSplineCurveCurve2d (const Standard_Integer Index1d, const Standard_Integer Index2d) const
 returns a rational curve whose poles correspond to the index2d of the 2D space and whose weights correspond to one dimensional space of index 1d if Index1d not in the Range [1,Nb1dSpaces] if Index2d not in the Range [1,Nb2dSpaces] if the Approx is not Done
 
Handle< Geom_BSplineCurveCurve (const Standard_Integer Index3d) const
 returns a polynomial curve whose poles correspond to the Index3D 3D space if Index3D not in the Range [1,Nb3dSpaces] if the Approx is not Done
 
Handle< Geom_BSplineCurveCurve (const Standard_Integer Index1D, const Standard_Integer Index3D) const
 returns a rational curve whose poles correspond to the index3D of the 3D space and whose weights correspond to the index1d 1D space. if Index1D not in the Range [1,Nb1dSpaces] if Index3D not in the Range [1,Nb3dSpaces] if the Approx is not Done
 

Detailed Description

this class is used to construct the BSpline curve from an Approximation ( ApproxAFunction from AdvApprox).

Constructor & Destructor Documentation

◆ GeomLib_MakeCurvefromApprox()

GeomLib_MakeCurvefromApprox::GeomLib_MakeCurvefromApprox ( const AdvApprox_ApproxAFunction & Approx)

Member Function Documentation

◆ Curve() [1/2]

Handle< Geom_BSplineCurve > GeomLib_MakeCurvefromApprox::Curve ( const Standard_Integer Index1D,
const Standard_Integer Index3D ) const

returns a rational curve whose poles correspond to the index3D of the 3D space and whose weights correspond to the index1d 1D space. if Index1D not in the Range [1,Nb1dSpaces] if Index3D not in the Range [1,Nb3dSpaces] if the Approx is not Done

◆ Curve() [2/2]

Handle< Geom_BSplineCurve > GeomLib_MakeCurvefromApprox::Curve ( const Standard_Integer Index3d) const

returns a polynomial curve whose poles correspond to the Index3D 3D space if Index3D not in the Range [1,Nb3dSpaces] if the Approx is not Done

◆ Curve2d() [1/2]

Handle< Geom2d_BSplineCurve > GeomLib_MakeCurvefromApprox::Curve2d ( const Standard_Integer Index1d,
const Standard_Integer Index2d ) const

returns a rational curve whose poles correspond to the index2d of the 2D space and whose weights correspond to one dimensional space of index 1d if Index1d not in the Range [1,Nb1dSpaces] if Index2d not in the Range [1,Nb2dSpaces] if the Approx is not Done

◆ Curve2d() [2/2]

Handle< Geom2d_BSplineCurve > GeomLib_MakeCurvefromApprox::Curve2d ( const Standard_Integer Index2d) const

returns a polynomial curve whose poles correspond to the Index2d 2D space if Index2d not in the Range [1,Nb2dSpaces] if the Approx is not Done

◆ Curve2dFromTwo1d()

Handle< Geom2d_BSplineCurve > GeomLib_MakeCurvefromApprox::Curve2dFromTwo1d ( const Standard_Integer Index1d,
const Standard_Integer Index2d ) const

returns a 2D curve building it from the 1D curve in x at Index1d and y at Index2d amongst the 1D curves if Index1d not in the Range [1,Nb1dSpaces] if Index2d not in the Range [1,Nb1dSpaces] if the Approx is not Done

◆ IsDone()

Standard_Boolean GeomLib_MakeCurvefromApprox::IsDone ( ) const

◆ Nb1DSpaces()

Standard_Integer GeomLib_MakeCurvefromApprox::Nb1DSpaces ( ) const

returns the number of 1D spaces of the Approx

◆ Nb2DSpaces()

Standard_Integer GeomLib_MakeCurvefromApprox::Nb2DSpaces ( ) const

returns the number of 3D spaces of the Approx

◆ Nb3DSpaces()

Standard_Integer GeomLib_MakeCurvefromApprox::Nb3DSpaces ( ) const

returns the number of 3D spaces of the Approx


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