OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    ShapeUpgrade Class Reference

    This package provides tools for splitting and converting shapes by some criteria. It provides modifications of the kind when one topological object can be converted or split in to several ones. In particular this package contains high level API classes which perform: converting geometry of shapes up to given continuity, splitting revolutions by U to segments less than given value, converting to beziers, splitting closed faces. More...

    #include <ShapeUpgrade.hxx>

    Static Public Member Functions

    static bool C0BSplineToSequenceOfC1BSplineCurve (const occ::handle< Geom_BSplineCurve > &BS, occ::handle< NCollection_HSequence< occ::handle< Geom_BoundedCurve > > > &seqBS)
     Unifies same domain faces and edges of specified shape.
    static bool C0BSplineToSequenceOfC1BSplineCurve (const occ::handle< Geom2d_BSplineCurve > &BS, occ::handle< NCollection_HSequence< occ::handle< Geom2d_BoundedCurve > > > &seqBS)
     Converts C0 B-Spline curve into sequence of C1 B-Spline curves. This method splits B-Spline at the knots with multiplicities equal to degree, i.e. unlike method GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not use any tolerance and therefore does not change the geometry of B-Spline. Returns True if C0 B-Spline was successfully split, else returns False (if BS is C1 B-Spline).

    Detailed Description

    This package provides tools for splitting and converting shapes by some criteria. It provides modifications of the kind when one topological object can be converted or split in to several ones. In particular this package contains high level API classes which perform: converting geometry of shapes up to given continuity, splitting revolutions by U to segments less than given value, converting to beziers, splitting closed faces.

    Member Function Documentation

    ◆ C0BSplineToSequenceOfC1BSplineCurve() [1/2]

    bool ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve ( const occ::handle< Geom2d_BSplineCurve > & BS,
    occ::handle< NCollection_HSequence< occ::handle< Geom2d_BoundedCurve > > > & seqBS )
    static

    Converts C0 B-Spline curve into sequence of C1 B-Spline curves. This method splits B-Spline at the knots with multiplicities equal to degree, i.e. unlike method GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not use any tolerance and therefore does not change the geometry of B-Spline. Returns True if C0 B-Spline was successfully split, else returns False (if BS is C1 B-Spline).

    ◆ C0BSplineToSequenceOfC1BSplineCurve() [2/2]

    bool ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve ( const occ::handle< Geom_BSplineCurve > & BS,
    occ::handle< NCollection_HSequence< occ::handle< Geom_BoundedCurve > > > & seqBS )
    static

    Unifies same domain faces and edges of specified shape.


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