Open CASCADE Technology  7.2.0
Public Member Functions
Approx_CurvilinearParameter Class Reference

Approximation of a Curve to make its parameter be its curvilinear abscissa If the curve is a curve on a surface S, C2D is the corresponding Pcurve, we considere the curve is given by its representation S(C2D(u)) If the curve is a curve on 2 surfaces S1 and S2 and C2D1 C2D2 are the two corresponding Pcurve, we considere the curve is given by its representation 1/2(S1(C2D1(u) + S2 (C2D2(u))) More...

#include <Approx_CurvilinearParameter.hxx>

Public Member Functions

 Approx_CurvilinearParameter (const Handle< Adaptor3d_HCurve > &C3D, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments)
 case of a free 3D curve More...
 
 Approx_CurvilinearParameter (const Handle< Adaptor2d_HCurve2d > &C2D, const Handle< Adaptor3d_HSurface > &Surf, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments)
 case of a curve on one surface More...
 
 Approx_CurvilinearParameter (const Handle< Adaptor2d_HCurve2d > &C2D1, const Handle< Adaptor3d_HSurface > &Surf1, const Handle< Adaptor2d_HCurve2d > &C2D2, const Handle< Adaptor3d_HSurface > &Surf2, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments)
 case of a curve on two surfaces More...
 
Standard_Boolean IsDone () const
 
Standard_Boolean HasResult () const
 
Handle< Geom_BSplineCurveCurve3d () const
 returns the Bspline curve corresponding to the reparametrized 3D curve More...
 
Standard_Real MaxError3d () const
 returns the maximum error on the reparametrized 3D curve More...
 
Handle< Geom2d_BSplineCurveCurve2d1 () const
 returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces) More...
 
Standard_Real MaxError2d1 () const
 returns the maximum error on the first reparametrized 2D curve More...
 
Handle< Geom2d_BSplineCurveCurve2d2 () const
 returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces) More...
 
Standard_Real MaxError2d2 () const
 returns the maximum error on the second reparametrized 2D curve More...
 
void Dump (Standard_OStream &o) const
 print the maximum errors(s) More...
 

Detailed Description

Approximation of a Curve to make its parameter be its curvilinear abscissa If the curve is a curve on a surface S, C2D is the corresponding Pcurve, we considere the curve is given by its representation S(C2D(u)) If the curve is a curve on 2 surfaces S1 and S2 and C2D1 C2D2 are the two corresponding Pcurve, we considere the curve is given by its representation 1/2(S1(C2D1(u) + S2 (C2D2(u)))

Constructor & Destructor Documentation

◆ Approx_CurvilinearParameter() [1/3]

Approx_CurvilinearParameter::Approx_CurvilinearParameter ( const Handle< Adaptor3d_HCurve > &  C3D,
const Standard_Real  Tol,
const GeomAbs_Shape  Order,
const Standard_Integer  MaxDegree,
const Standard_Integer  MaxSegments 
)

case of a free 3D curve

◆ Approx_CurvilinearParameter() [2/3]

Approx_CurvilinearParameter::Approx_CurvilinearParameter ( const Handle< Adaptor2d_HCurve2d > &  C2D,
const Handle< Adaptor3d_HSurface > &  Surf,
const Standard_Real  Tol,
const GeomAbs_Shape  Order,
const Standard_Integer  MaxDegree,
const Standard_Integer  MaxSegments 
)

case of a curve on one surface

◆ Approx_CurvilinearParameter() [3/3]

Approx_CurvilinearParameter::Approx_CurvilinearParameter ( const Handle< Adaptor2d_HCurve2d > &  C2D1,
const Handle< Adaptor3d_HSurface > &  Surf1,
const Handle< Adaptor2d_HCurve2d > &  C2D2,
const Handle< Adaptor3d_HSurface > &  Surf2,
const Standard_Real  Tol,
const GeomAbs_Shape  Order,
const Standard_Integer  MaxDegree,
const Standard_Integer  MaxSegments 
)

case of a curve on two surfaces

Member Function Documentation

◆ Curve2d1()

Handle< Geom2d_BSplineCurve > Approx_CurvilinearParameter::Curve2d1 ( ) const

returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces)

◆ Curve2d2()

Handle< Geom2d_BSplineCurve > Approx_CurvilinearParameter::Curve2d2 ( ) const

returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces)

◆ Curve3d()

Handle< Geom_BSplineCurve > Approx_CurvilinearParameter::Curve3d ( ) const

returns the Bspline curve corresponding to the reparametrized 3D curve

◆ Dump()

void Approx_CurvilinearParameter::Dump ( Standard_OStream o) const

print the maximum errors(s)

◆ HasResult()

Standard_Boolean Approx_CurvilinearParameter::HasResult ( ) const

◆ IsDone()

Standard_Boolean Approx_CurvilinearParameter::IsDone ( ) const

◆ MaxError2d1()

Standard_Real Approx_CurvilinearParameter::MaxError2d1 ( ) const

returns the maximum error on the first reparametrized 2D curve

◆ MaxError2d2()

Standard_Real Approx_CurvilinearParameter::MaxError2d2 ( ) const

returns the maximum error on the second reparametrized 2D curve

◆ MaxError3d()

Standard_Real Approx_CurvilinearParameter::MaxError3d ( ) const

returns the maximum error on the reparametrized 3D curve


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