Open CASCADE Technology  7.5.0
Data Structures | Public Member Functions

Approx_SameParameter Class Reference

Approximation of a PCurve on a surface to make its parameter be the same that the parameter of a given 3d reference curve. More...

#include <Approx_SameParameter.hxx>

Public Member Functions

 Approx_SameParameter (const Handle< Geom_Curve > &C3D, const Handle< Geom2d_Curve > &C2D, const Handle< Geom_Surface > &S, const Standard_Real Tol)
 Warning: the C3D and C2D must have the same parametric domain. More...
 
 Approx_SameParameter (const Handle< Adaptor3d_HCurve > &C3D, const Handle< Geom2d_Curve > &C2D, const Handle< Adaptor3d_HSurface > &S, const Standard_Real Tol)
 Warning: the C3D and C2D must have the same parametric domain. More...
 
 Approx_SameParameter (const Handle< Adaptor3d_HCurve > &C3D, const Handle< Adaptor2d_HCurve2d > &C2D, const Handle< Adaptor3d_HSurface > &S, const Standard_Real Tol)
 Warning: the C3D and C2D must have the same parametric domain. More...
 
Standard_Boolean IsDone () const
 .false. if calculations failed, .true. if calculations succeed More...
 
Standard_Real TolReached () const
 tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface. More...
 
Standard_Boolean IsSameParameter () const
 Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done. More...
 
Handle< Geom2d_CurveCurve2d () const
 Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance. More...
 

Detailed Description

Approximation of a PCurve on a surface to make its parameter be the same that the parameter of a given 3d reference curve.

Constructor & Destructor Documentation

◆ Approx_SameParameter() [1/3]

Approx_SameParameter::Approx_SameParameter ( const Handle< Geom_Curve > &  C3D,
const Handle< Geom2d_Curve > &  C2D,
const Handle< Geom_Surface > &  S,
const Standard_Real  Tol 
)

Warning: the C3D and C2D must have the same parametric domain.

◆ Approx_SameParameter() [2/3]

Approx_SameParameter::Approx_SameParameter ( const Handle< Adaptor3d_HCurve > &  C3D,
const Handle< Geom2d_Curve > &  C2D,
const Handle< Adaptor3d_HSurface > &  S,
const Standard_Real  Tol 
)

Warning: the C3D and C2D must have the same parametric domain.

◆ Approx_SameParameter() [3/3]

Approx_SameParameter::Approx_SameParameter ( const Handle< Adaptor3d_HCurve > &  C3D,
const Handle< Adaptor2d_HCurve2d > &  C2D,
const Handle< Adaptor3d_HSurface > &  S,
const Standard_Real  Tol 
)

Warning: the C3D and C2D must have the same parametric domain.

Member Function Documentation

◆ Curve2d()

Handle< Geom2d_Curve > Approx_SameParameter::Curve2d ( ) const
inline

Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance.

◆ IsDone()

Standard_Boolean Approx_SameParameter::IsDone ( ) const
inline

.false. if calculations failed, .true. if calculations succeed

◆ IsSameParameter()

Standard_Boolean Approx_SameParameter::IsSameParameter ( ) const
inline

Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done.

◆ TolReached()

Standard_Real Approx_SameParameter::TolReached ( ) const
inline

tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface.


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