Open CASCADE Technology
6.5.4
|
Approximation of a PCurve on a surface to make its
parameter be the same that the parameter of a given 3d
reference curve.
#include <Approx_SameParameter.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | 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 (const Handle< Adaptor3d_HCurve > &C3D, const Handle< Geom2d_Curve > &C2D, const Handle< Adaptor3d_HSurface > &S, const Standard_Real Tol) | |
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. | |
Standard_Boolean | IsDone () const |
Standard_Real | TolReached () const |
Standard_Boolean | IsSameParameter () const |
Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done. | |
Handle_Geom2d_BSplineCurve | Curve2d () const |
Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance |
DEFINE_STANDARD_ALLOC Approx_SameParameter::Approx_SameParameter | ( | const Handle< Geom_Curve > & | C3D, |
const Handle< Geom2d_Curve > & | C2D, | ||
const Handle< Geom_Surface > & | S, | ||
const Standard_Real | Tol | ||
) |
Approx_SameParameter::Approx_SameParameter | ( | const Handle< Adaptor3d_HCurve > & | C3D, |
const Handle< Geom2d_Curve > & | C2D, | ||
const Handle< Adaptor3d_HSurface > & | S, | ||
const Standard_Real | Tol | ||
) |
Approx_SameParameter::Approx_SameParameter | ( | const Handle< Adaptor3d_HCurve > & | C3D, |
const Handle< Adaptor2d_HCurve2d > & | C2D, | ||
const Handle< Adaptor3d_HSurface > & | S, | ||
const Standard_Real | Tol | ||
) |
Handle_Geom2d_BSplineCurve Approx_SameParameter::Curve2d | ( | ) | const |
Standard_Boolean Approx_SameParameter::IsDone | ( | ) | const |