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
    ShapeConstruct Class Reference

    This package provides new algorithms for constructing new geometrical objects and topological shapes. It complements and extends algorithms available in Open CASCADE topological and geometrical toolkist. The functionality provided by this package are the following: projecting curves on surface, adjusting curve to have given start and end points. P. More...

    #include <ShapeConstruct.hxx>

    Static Public Member Functions

    static occ::handle< Geom_BSplineCurveConvertCurveToBSpline (const occ::handle< Geom_Curve > &C3D, const double First, const double Last, const double Tol3d, const GeomAbs_Shape Continuity, const int MaxSegments, const int MaxDegree)
     Tool for wire triangulation.
    static occ::handle< Geom2d_BSplineCurveConvertCurveToBSpline (const occ::handle< Geom2d_Curve > &C2D, const double First, const double Last, const double Tol2d, const GeomAbs_Shape Continuity, const int MaxSegments, const int MaxDegree)
    static occ::handle< Geom_BSplineSurfaceConvertSurfaceToBSpline (const occ::handle< Geom_Surface > &surf, const double UF, const double UL, const double VF, const double VL, const double Tol3d, const GeomAbs_Shape Continuity, const int MaxSegments, const int MaxDegree)
    static bool JoinPCurves (const occ::handle< NCollection_HSequence< TopoDS_Shape > > &theEdges, const TopoDS_Face &theFace, TopoDS_Edge &theEdge)
     join pcurves of the <theEdge> on the <theFace> try to use pcurves from originas edges <theEdges> Returns false if cannot join pcurves
    static bool JoinCurves (const occ::handle< Geom_Curve > &c3d1, const occ::handle< Geom_Curve > &ac3d2, const TopAbs_Orientation Orient1, const TopAbs_Orientation Orient2, double &first1, double &last1, double &first2, double &last2, occ::handle< Geom_Curve > &c3dOut, bool &isRev1, bool &isRev2)
     Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. Return value : True - if curves were joined successfully, else - False.
    static bool JoinCurves (const occ::handle< Geom2d_Curve > &c2d1, const occ::handle< Geom2d_Curve > &ac2d2, const TopAbs_Orientation Orient1, const TopAbs_Orientation Orient2, double &first1, double &last1, double &first2, double &last2, occ::handle< Geom2d_Curve > &c2dOut, bool &isRev1, bool &isRev2, const bool isError=false)
     Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. isError - input parameter indicative possible errors due to that one from edges have one vertex Return value : True - if curves were joined successfully, else - False.

    Detailed Description

    This package provides new algorithms for constructing new geometrical objects and topological shapes. It complements and extends algorithms available in Open CASCADE topological and geometrical toolkist. The functionality provided by this package are the following: projecting curves on surface, adjusting curve to have given start and end points. P.

    Member Function Documentation

    ◆ ConvertCurveToBSpline() [1/2]

    occ::handle< Geom2d_BSplineCurve > ShapeConstruct::ConvertCurveToBSpline ( const occ::handle< Geom2d_Curve > & C2D,
    const double First,
    const double Last,
    const double Tol2d,
    const GeomAbs_Shape Continuity,
    const int MaxSegments,
    const int MaxDegree )
    static

    ◆ ConvertCurveToBSpline() [2/2]

    occ::handle< Geom_BSplineCurve > ShapeConstruct::ConvertCurveToBSpline ( const occ::handle< Geom_Curve > & C3D,
    const double First,
    const double Last,
    const double Tol3d,
    const GeomAbs_Shape Continuity,
    const int MaxSegments,
    const int MaxDegree )
    static

    Tool for wire triangulation.

    ◆ ConvertSurfaceToBSpline()

    occ::handle< Geom_BSplineSurface > ShapeConstruct::ConvertSurfaceToBSpline ( const occ::handle< Geom_Surface > & surf,
    const double UF,
    const double UL,
    const double VF,
    const double VL,
    const double Tol3d,
    const GeomAbs_Shape Continuity,
    const int MaxSegments,
    const int MaxDegree )
    static

    ◆ JoinCurves() [1/2]

    bool ShapeConstruct::JoinCurves ( const occ::handle< Geom2d_Curve > & c2d1,
    const occ::handle< Geom2d_Curve > & ac2d2,
    const TopAbs_Orientation Orient1,
    const TopAbs_Orientation Orient2,
    double & first1,
    double & last1,
    double & first2,
    double & last2,
    occ::handle< Geom2d_Curve > & c2dOut,
    bool & isRev1,
    bool & isRev2,
    const bool isError = false )
    static

    Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. isError - input parameter indicative possible errors due to that one from edges have one vertex Return value : True - if curves were joined successfully, else - False.

    ◆ JoinCurves() [2/2]

    bool ShapeConstruct::JoinCurves ( const occ::handle< Geom_Curve > & c3d1,
    const occ::handle< Geom_Curve > & ac3d2,
    const TopAbs_Orientation Orient1,
    const TopAbs_Orientation Orient2,
    double & first1,
    double & last1,
    double & first2,
    double & last2,
    occ::handle< Geom_Curve > & c3dOut,
    bool & isRev1,
    bool & isRev2 )
    static

    Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. Return value : True - if curves were joined successfully, else - False.

    ◆ JoinPCurves()

    bool ShapeConstruct::JoinPCurves ( const occ::handle< NCollection_HSequence< TopoDS_Shape > > & theEdges,
    const TopoDS_Face & theFace,
    TopoDS_Edge & theEdge )
    static

    join pcurves of the <theEdge> on the <theFace> try to use pcurves from originas edges <theEdges> Returns false if cannot join pcurves


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