Open CASCADE Technology 7.8.0
|
This class is axuluary tool which contains parameters for BSplineRestriction class. More...
#include <ShapeCustom_RestrictionParameters.hxx>
Public Member Functions | |
ShapeCustom_RestrictionParameters () | |
Sets default parameters. | |
Standard_Integer & | GMaxDegree () |
Returns (modifiable) maximal degree of approximation. | |
Standard_Integer & | GMaxSeg () |
Returns (modifiable) maximal number of spans of approximation. | |
Standard_Boolean & | ConvertPlane () |
Sets flag for define if Plane converted to BSpline surface. | |
Standard_Boolean & | ConvertBezierSurf () |
Sets flag for define if Bezier surface converted to BSpline surface. | |
Standard_Boolean & | ConvertRevolutionSurf () |
Sets flag for define if surface of Revolution converted to BSpline surface. | |
Standard_Boolean & | ConvertExtrusionSurf () |
Sets flag for define if surface of LinearExtrusion converted to BSpline surface. | |
Standard_Boolean & | ConvertOffsetSurf () |
Sets flag for define if Offset surface converted to BSpline surface. | |
Standard_Boolean & | ConvertCylindricalSurf () |
Sets flag for define if cylindrical surface converted to BSpline surface. | |
Standard_Boolean & | ConvertConicalSurf () |
Sets flag for define if conical surface converted to BSpline surface. | |
Standard_Boolean & | ConvertToroidalSurf () |
Sets flag for define if toroidal surface converted to BSpline surface. | |
Standard_Boolean & | ConvertSphericalSurf () |
Sets flag for define if spherical surface converted to BSpline surface. | |
Standard_Boolean & | SegmentSurfaceMode () |
Sets Segment mode for surface. If Segment is True surface is approximated in the bondaries of face lying on this surface. | |
Standard_Boolean & | ConvertCurve3d () |
Sets flag for define if 3d curve converted to BSpline curve. | |
Standard_Boolean & | ConvertOffsetCurv3d () |
Sets flag for define if Offset curve3d converted to BSpline surface. | |
Standard_Boolean & | ConvertCurve2d () |
Returns (modifiable) flag for define if 2d curve converted to BSpline curve. | |
Standard_Boolean & | ConvertOffsetCurv2d () |
Returns (modifiable) flag for define if Offset curve2d converted to BSpline surface. | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. | |
virtual | ~Standard_Transient () |
Destructor must be virtual. | |
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
Returns a type descriptor about this object. | |
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
Returns a true value if this is an instance of Type. | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. | |
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Transient * | This () const |
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. | |
Standard_Integer | GetRefCount () const noexcept |
Get the reference counter of this object. | |
void | IncrementRefCounter () noexcept |
Increments the reference counter of this object. | |
Standard_Integer | DecrementRefCounter () noexcept |
Decrements the reference counter of this object; returns the decremented value. | |
virtual void | Delete () const |
Memory deallocator for transient classes. | |
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
typedef void | base_type |
Returns a type descriptor about this object. | |
Static Public Member Functions inherited from Standard_Transient | |
static constexpr const char * | get_type_name () |
Returns a type descriptor about this object. | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. | |
This class is axuluary tool which contains parameters for BSplineRestriction class.
ShapeCustom_RestrictionParameters::ShapeCustom_RestrictionParameters | ( | ) |
Sets default parameters.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertBezierSurf | ( | ) |
Sets flag for define if Bezier surface converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertConicalSurf | ( | ) |
Sets flag for define if conical surface converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertCurve2d | ( | ) |
Returns (modifiable) flag for define if 2d curve converted to BSpline curve.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertCurve3d | ( | ) |
Sets flag for define if 3d curve converted to BSpline curve.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertCylindricalSurf | ( | ) |
Sets flag for define if cylindrical surface converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertExtrusionSurf | ( | ) |
Sets flag for define if surface of LinearExtrusion converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertOffsetCurv2d | ( | ) |
Returns (modifiable) flag for define if Offset curve2d converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertOffsetCurv3d | ( | ) |
Sets flag for define if Offset curve3d converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertOffsetSurf | ( | ) |
Sets flag for define if Offset surface converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertPlane | ( | ) |
Sets flag for define if Plane converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertRevolutionSurf | ( | ) |
Sets flag for define if surface of Revolution converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertSphericalSurf | ( | ) |
Sets flag for define if spherical surface converted to BSpline surface.
Standard_Boolean & ShapeCustom_RestrictionParameters::ConvertToroidalSurf | ( | ) |
Sets flag for define if toroidal surface converted to BSpline surface.
Standard_Integer & ShapeCustom_RestrictionParameters::GMaxDegree | ( | ) |
Returns (modifiable) maximal degree of approximation.
Standard_Integer & ShapeCustom_RestrictionParameters::GMaxSeg | ( | ) |
Returns (modifiable) maximal number of spans of approximation.
Standard_Boolean & ShapeCustom_RestrictionParameters::SegmentSurfaceMode | ( | ) |
Sets Segment mode for surface. If Segment is True surface is approximated in the bondaries of face lying on this surface.