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

    Provides methods to transfer basic geometric surface entities from IGES to CASCADE. These can be: More...

    #include <IGESToBRep_BasicSurface.hxx>

    Inheritance diagram for IGESToBRep_BasicSurface:

    Public Member Functions

     IGESToBRep_BasicSurface ()
     Creates a tool BasicSurface ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
     IGESToBRep_BasicSurface (const IGESToBRep_CurveAndSurface &CS)
     Creates a tool BasicSurface ready to run and sets its fields as CS's.
     IGESToBRep_BasicSurface (const double eps, const double epsGeom, const double epsCoeff, const bool modemode, const bool modeapprox, const bool optimized)
     Creates a tool BasicSurface ready to run.
    occ::handle< Geom_SurfaceTransferBasicSurface (const occ::handle< IGESData_IGESEntity > &startstart)
     Returns Surface from Geom if the last transfer has succeeded.
    occ::handle< Geom_PlaneTransferPlaneSurface (const occ::handle< IGESSolid_PlaneSurface > &startstart)
     Returns Plane from Geom if the transfer has succeeded.
    occ::handle< Geom_CylindricalSurfaceTransferRigthCylindricalSurface (const occ::handle< IGESSolid_CylindricalSurface > &startstart)
     Returns CylindricalSurface from Geom if the transfer has succeeded.
    occ::handle< Geom_ConicalSurfaceTransferRigthConicalSurface (const occ::handle< IGESSolid_ConicalSurface > &startstart)
     Returns ConicalSurface from Geom if the transfer has succeeded.
    occ::handle< Geom_SphericalSurfaceTransferSphericalSurface (const occ::handle< IGESSolid_SphericalSurface > &startstart)
     Returns SphericalSurface from Geom if the transfer has succeeded.
    occ::handle< Geom_ToroidalSurfaceTransferToroidalSurface (const occ::handle< IGESSolid_ToroidalSurface > &startstart)
     Returns SphericalSurface from Geom if the transfer has succeeded.
    occ::handle< Geom_BSplineSurfaceTransferSplineSurface (const occ::handle< IGESGeom_SplineSurface > &startstart)
     Returns BSplineSurface from Geom if the transfer has succeeded.
    occ::handle< Geom_BSplineSurfaceTransferBSplineSurface (const occ::handle< IGESGeom_BSplineSurface > &startstart)
     Returns BSplineSurface from Geom if the transfer has succeeded.
    Public Member Functions inherited from IGESToBRep_CurveAndSurface
     IGESToBRep_CurveAndSurface ()
     Creates a tool CurveAndSurface ready to run, with epsilons set to 1.E-04, myModeTopo to True, the optimization of the continuity to False.
     IGESToBRep_CurveAndSurface (const double eps, const double epsGeom, const double epsCoeff, const bool modemode, const bool modeapprox, const bool optimized)
     Creates a tool CurveAndSurface ready to run.
    void Init ()
     Initializes the field of the tool CurveAndSurface with default creating values.
    void SetEpsilon (const double eps)
     Changes the value of "myEps".
    double GetEpsilon () const
     Returns the value of "myEps".
    void SetEpsCoeff (const double eps)
     Changes the value of "myEpsCoeff".
    double GetEpsCoeff () const
     Returns the value of "myEpsCoeff".
    void SetEpsGeom (const double eps)
     Changes the value of "myEpsGeom".
    double GetEpsGeom () const
     Returns the value of "myEpsGeom".
    void SetMinTol (const double mintol)
     Changes the value of "myMinTol".
    void SetMaxTol (const double maxtol)
     Changes the value of "myMaxTol".
    void UpdateMinMaxTol ()
     Sets values of "myMinTol" and "myMaxTol" as follows myMaxTol = Max ("read.maxprecision.val", myEpsGeom * myUnitFactor) myMinTol = Precision::Confusion() Remark: This method is automatically invoked each time the values of "myEpsGeom" or "myUnitFactor" are changed.
    double GetMinTol () const
     Returns the value of "myMinTol".
    double GetMaxTol () const
     Returns the value of "myMaxTol".
    void SetModeApprox (const bool modemode)
     Changes the value of "myModeApprox".
    bool GetModeApprox () const
     Returns the value of "myModeApprox".
    void SetModeTransfer (const bool modemode)
     Changes the value of "myModeIsTopo".
    bool GetModeTransfer () const
     Returns the value of "myModeIsTopo".
    void SetOptimized (const bool optimized)
     Changes the value of "myContIsOpti".
    bool GetOptimized () const
     Returns the value of "myContIsOpti".
    double GetUnitFactor () const
     Returns the value of " myUnitFactor".
    void SetSurfaceCurve (const int ival)
     Changes the value of "mySurfaceCurve".
    int GetSurfaceCurve () const
     Returns the value of "mySurfaceCurve" 0 = value in file, 2 = keep 2d and compute 3d, 3 = keep 3d and compute 2d.
    void SetModel (const occ::handle< IGESData_IGESModel > &model)
     Set the value of "myModel".
    occ::handle< IGESData_IGESModelGetModel () const
     Returns the value of "myModel".
    void SetContinuity (const int continuity)
     Changes the value of "myContinuity" if continuity = 0 do nothing else if continuity = 1 try C1 if continuity = 2 try C2.
    int GetContinuity () const
     Returns the value of "myContinuity".
    void SetTransferProcess (const occ::handle< Transfer_TransientProcess > &TP)
     Set the value of "myMsgReg".
    occ::handle< Transfer_TransientProcessGetTransferProcess () const
     Returns the value of "myMsgReg".
    TopoDS_Shape TransferCurveAndSurface (const occ::handle< IGESData_IGESEntity > &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Returns the result of the transfert of any IGES Curve or Surface Entity. If the transfer has failed, this member return a NullEntity.
    TopoDS_Shape TransferGeometry (const occ::handle< IGESData_IGESEntity > &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Returns the result of the transfert the geometry of any IGESEntity. If the transfer has failed, this member return a NullEntity.
    void SendFail (const occ::handle< IGESData_IGESEntity > &startstart, const Message_Msg &amsg)
     Records a new Fail message.
    void SendWarning (const occ::handle< IGESData_IGESEntity > &startstart, const Message_Msg &amsg)
     Records a new Warning message.
    void SendMsg (const occ::handle< IGESData_IGESEntity > &startstart, const Message_Msg &amsg)
     Records a new Information message from the definition of a Msg (Original+Value).
    bool HasShapeResult (const occ::handle< IGESData_IGESEntity > &startstart) const
     Returns True if start was already treated and has a result in "myMap" else returns False.
    TopoDS_Shape GetShapeResult (const occ::handle< IGESData_IGESEntity > &startstart) const
     Returns the result of the transfer of the IGESEntity "start" contained in "myMap" . (if HasShapeResult is True).
    void SetShapeResult (const occ::handle< IGESData_IGESEntity > &startstart, const TopoDS_Shape &resultresult)
     set in "myMap" the result of the transfer of the IGESEntity "start".
    int NbShapeResult (const occ::handle< IGESData_IGESEntity > &startstart) const
     Returns the number of shapes results contained in "myMap" for the IGESEntity start (type VertexList or EdgeList).
    TopoDS_Shape GetShapeResult (const occ::handle< IGESData_IGESEntity > &startstart, const int numnum) const
     Returns the numth result of the IGESEntity start (type VertexList or EdgeList) in "myMap". (if NbShapeResult is not null).
    void AddShapeResult (const occ::handle< IGESData_IGESEntity > &startstart, const TopoDS_Shape &resultresult)
     set in "myMap" the result of the transfer of the entity of the IGESEntity start (type VertexList or EdgeList).
    void SetSurface (const occ::handle< Geom_Surface > &theSurface)
    occ::handle< Geom_SurfaceSurface () const
    double GetUVResolution ()

    Detailed Description

    Provides methods to transfer basic geometric surface entities from IGES to CASCADE. These can be:

    • Spline surface
    • BSpline surface

    Constructor & Destructor Documentation

    ◆ IGESToBRep_BasicSurface() [1/3]

    IGESToBRep_BasicSurface::IGESToBRep_BasicSurface ( )

    Creates a tool BasicSurface ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.

    ◆ IGESToBRep_BasicSurface() [2/3]

    IGESToBRep_BasicSurface::IGESToBRep_BasicSurface ( const IGESToBRep_CurveAndSurface & CS)

    Creates a tool BasicSurface ready to run and sets its fields as CS's.

    ◆ IGESToBRep_BasicSurface() [3/3]

    IGESToBRep_BasicSurface::IGESToBRep_BasicSurface ( const double eps,
    const double epsGeom,
    const double epsCoeff,
    const bool mode,
    const bool modeapprox,
    const bool optimized )

    Creates a tool BasicSurface ready to run.

    Member Function Documentation

    ◆ TransferBasicSurface()

    occ::handle< Geom_Surface > IGESToBRep_BasicSurface::TransferBasicSurface ( const occ::handle< IGESData_IGESEntity > & start)

    Returns Surface from Geom if the last transfer has succeeded.

    ◆ TransferBSplineSurface()

    occ::handle< Geom_BSplineSurface > IGESToBRep_BasicSurface::TransferBSplineSurface ( const occ::handle< IGESGeom_BSplineSurface > & start)

    Returns BSplineSurface from Geom if the transfer has succeeded.

    ◆ TransferPlaneSurface()

    occ::handle< Geom_Plane > IGESToBRep_BasicSurface::TransferPlaneSurface ( const occ::handle< IGESSolid_PlaneSurface > & start)

    Returns Plane from Geom if the transfer has succeeded.

    ◆ TransferRigthConicalSurface()

    occ::handle< Geom_ConicalSurface > IGESToBRep_BasicSurface::TransferRigthConicalSurface ( const occ::handle< IGESSolid_ConicalSurface > & start)

    Returns ConicalSurface from Geom if the transfer has succeeded.

    ◆ TransferRigthCylindricalSurface()

    occ::handle< Geom_CylindricalSurface > IGESToBRep_BasicSurface::TransferRigthCylindricalSurface ( const occ::handle< IGESSolid_CylindricalSurface > & start)

    Returns CylindricalSurface from Geom if the transfer has succeeded.

    ◆ TransferSphericalSurface()

    occ::handle< Geom_SphericalSurface > IGESToBRep_BasicSurface::TransferSphericalSurface ( const occ::handle< IGESSolid_SphericalSurface > & start)

    Returns SphericalSurface from Geom if the transfer has succeeded.

    ◆ TransferSplineSurface()

    occ::handle< Geom_BSplineSurface > IGESToBRep_BasicSurface::TransferSplineSurface ( const occ::handle< IGESGeom_SplineSurface > & start)

    Returns BSplineSurface from Geom if the transfer has succeeded.

    ◆ TransferToroidalSurface()

    occ::handle< Geom_ToroidalSurface > IGESToBRep_BasicSurface::TransferToroidalSurface ( const occ::handle< IGESSolid_ToroidalSurface > & start)

    Returns SphericalSurface from Geom if the transfer has succeeded.


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