Open CASCADE Technology
6.5.4
|
This package is intended to gather geometric conversion which
are not immediate but can be used for several purposes :
mainly, standard conversion to and from CasCade geometric and
topologic data, and adaptations of IGES files as required
(as replacing Spline entities to BSpline equivalents).
#include <IGESConvGeom.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC Standard_Integer | SplineCurveFromIGES (const Handle< IGESGeom_SplineCurve > &igesent, const Standard_Real epscoef, const Standard_Real epsgeom, Handle< Geom_BSplineCurve > &result) |
basic tool to build curves from IGESGeom (arrays of points, Transformations, evaluation of points in a datum) //! Converts a SplineCurve from IGES to a BSplineCurve from CasCade <epscoef> gives tolerance to consider coefficient to be nul <epsgeom> gives tolerance to consider poles to be equal The returned value is a status with these possible values : | |
static Standard_Integer | IncreaseCurveContinuity (const Handle< Geom_BSplineCurve > &curve, const Standard_Real epsgeom, const Standard_Integer continuity=2) |
Tries to increase curve continuity with tolerance <epsgeom> <continuity> is the new desired continuity, can be 1 or 2 (more than 2 is considered as 2). Returns the new maximum continuity obtained on all knots. Remark that, for instance with <continuity> = 2, even if not all the knots can be passed to C2, all knots which can be are. | |
static Standard_Integer | IncreaseCurveContinuity (const Handle< Geom2d_BSplineCurve > &curve, const Standard_Real epsgeom, const Standard_Integer continuity=2) |
static Standard_Integer | SplineSurfaceFromIGES (const Handle< IGESGeom_SplineSurface > &igesent, const Standard_Real epscoef, const Standard_Real epsgeom, Handle< Geom_BSplineSurface > &result) |
Converts a SplineSurface from IGES to a BSplineSurface from CasCade <epscoef> gives tolerance to consider coefficient to be nul <epsgeom> gives tolerance to consider poles to be equal The returned value is a status with these possible values : | |
static Standard_Integer | IncreaseSurfaceContinuity (const Handle< Geom_BSplineSurface > &surface, const Standard_Real epsgeom, const Standard_Integer continuity=2) |
Tries to increase Surface continuity with tolerance <epsgeom> <continuity> is the new desired continuity, can be 1 or 2 (more than 2 is considered as 2). Returns the new maximum continuity obtained on all knots. Remark that, for instance with <continuity> = 2, even if not all the knots can be passed to C2, all knots which can be are. |
static Standard_Integer IGESConvGeom::IncreaseCurveContinuity | ( | const Handle< Geom_BSplineCurve > & | curve, |
const Standard_Real | epsgeom, | ||
const Standard_Integer | continuity = 2 |
||
) | [static] |
static Standard_Integer IGESConvGeom::IncreaseCurveContinuity | ( | const Handle< Geom2d_BSplineCurve > & | curve, |
const Standard_Real | epsgeom, | ||
const Standard_Integer | continuity = 2 |
||
) | [static] |
static Standard_Integer IGESConvGeom::IncreaseSurfaceContinuity | ( | const Handle< Geom_BSplineSurface > & | surface, |
const Standard_Real | epsgeom, | ||
const Standard_Integer | continuity = 2 |
||
) | [static] |
static DEFINE_STANDARD_ALLOC Standard_Integer IGESConvGeom::SplineCurveFromIGES | ( | const Handle< IGESGeom_SplineCurve > & | igesent, |
const Standard_Real | epscoef, | ||
const Standard_Real | epsgeom, | ||
Handle< Geom_BSplineCurve > & | result | ||
) | [static] |
static Standard_Integer IGESConvGeom::SplineSurfaceFromIGES | ( | const Handle< IGESGeom_SplineSurface > & | igesent, |
const Standard_Real | epscoef, | ||
const Standard_Real | epsgeom, | ||
Handle< Geom_BSplineSurface > & | result | ||
) | [static] |