OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepToIGESBRep_Entity Class Reference

    provides methods to transfer BRep entity from CASCADE to IGESBRep. More...

    #include <BRepToIGESBRep_Entity.hxx>

    Inheritance diagram for BRepToIGESBRep_Entity:

    Public Member Functions

     BRepToIGESBRep_Entity ()
     Creates a tool Entity.
    void Clear ()
     Clears the contents of the fields.
    void TransferVertexList ()
     Create the VertexList entity.
    int IndexVertex (const TopoDS_Vertex &myvertex) const
     Returns the index of <myvertex> in "myVertices".
    int AddVertex (const TopoDS_Vertex &myvertex)
     Stores <myvertex> in "myVertices" Returns the index of <myvertex>.
    void TransferEdgeList ()
     Transfer an Edge entity from TopoDS to IGES.
    int IndexEdge (const TopoDS_Edge &myedge) const
     Returns the index of <myedge> in "myEdges".
    int AddEdge (const TopoDS_Edge &myedge, const occ::handle< IGESData_IGESEntity > &mycurve3d)
     Stores <myedge> in "myEdges" and <mycurve3d> in "myCurves". Returns the index of <myedge>.
    occ::handle< IGESData_IGESEntity > TransferShape (const TopoDS_Shape &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange()) override
     Returns the result of the transfert of any Shape If the transfer has failed, this member returns a NullEntity.
    occ::handle< IGESData_IGESEntity > TransferEdge (const TopoDS_Edge &myedge)
     Transfer an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESData_IGESEntity > TransferEdge (const TopoDS_Edge &myedge, const TopoDS_Face &myface, const double lengthlength)
     Transfer an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESSolid_Loop > TransferWire (const TopoDS_Wire &mywire, const TopoDS_Face &myface, const double lengthlength)
     Transfer a Wire entity from TopoDS to IGES. Returns the curve associated to mywire in the parametric space of myface. If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESSolid_Face > TransferFace (const TopoDS_Face &startstart)
     Transfer a Face entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESSolid_Shell > TransferShell (const TopoDS_Shell &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Transfer an Shell entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESSolid_ManifoldSolid > TransferSolid (const TopoDS_Solid &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Transfer a Solid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESData_IGESEntity > TransferCompSolid (const TopoDS_CompSolid &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Transfer an CompSolid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    occ::handle< IGESData_IGESEntity > TransferCompound (const TopoDS_Compound &startstart, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Transfer a Compound entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
    Public Member Functions inherited from BRepToIGES_BREntity
     BRepToIGES_BREntity ()
     Creates a tool BREntity.
    void Init ()
     Initializes the field of the tool BREntity with default creating values.
    void SetModel (const occ::handle< IGESData_IGESModel > &model)
     Set the value of "TheModel".
    occ::handle< IGESData_IGESModel > GetModel () const
     Returns the value of "TheModel".
    double GetUnit () const
     Returns the value of the UnitFlag of the header of the model in meters.
    void SetTransferProcess (const occ::handle< Transfer_FinderProcess > &TP)
     Set the value of "TheMap".
    occ::handle< Transfer_FinderProcess > GetTransferProcess () const
     Returns the value of "TheMap".
    void AddFail (const TopoDS_Shape &startstart, const char *const amess)
     Records a new Fail message.
    void AddWarning (const TopoDS_Shape &startstart, const char *const amess)
     Records a new Warning message.
    void AddFail (const occ::handle< Standard_Transient > &startstart, const char *const amess)
     Records a new Fail message.
    void AddWarning (const occ::handle< Standard_Transient > &startstart, const char *const amess)
     Records a new Warning message.
    bool HasShapeResult (const TopoDS_Shape &startstart) const
     Returns True if start was already treated and has a result in "TheMap" else returns False.
    occ::handle< Standard_Transient > GetShapeResult (const TopoDS_Shape &startstart) const
     Returns the result of the transfer of the Shape "start" contained in "TheMap". (if HasShapeResult is True).
    void SetShapeResult (const TopoDS_Shape &startstart, const occ::handle< Standard_Transient > &resultresult)
     set in "TheMap" the result of the transfer of the Shape "start".
    bool HasShapeResult (const occ::handle< Standard_Transient > &startstart) const
     Returns True if start was already treated and has a result in "TheMap" else returns False.
    occ::handle< Standard_Transient > GetShapeResult (const occ::handle< Standard_Transient > &startstart) const
     Returns the result of the transfer of the Transient "start" contained in "TheMap". (if HasShapeResult is True).
    void SetShapeResult (const occ::handle< Standard_Transient > &startstart, const occ::handle< Standard_Transient > &resultresult)
     set in "TheMap" the result of the transfer of the Transient "start".
    bool GetConvertSurfaceMode () const
     Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode).
    bool GetPCurveMode () const
     Returns mode for writing pcurves (value of parameter write.surfacecurve.mode).
    virtual ~BRepToIGES_BREntity ()

    Detailed Description

    provides methods to transfer BRep entity from CASCADE to IGESBRep.

    Constructor & Destructor Documentation

    ◆ BRepToIGESBRep_Entity()

    BRepToIGESBRep_Entity::BRepToIGESBRep_Entity ( )

    Creates a tool Entity.

    Member Function Documentation

    ◆ AddEdge()

    int BRepToIGESBRep_Entity::AddEdge ( const TopoDS_Edge & myedge,
    const occ::handle< IGESData_IGESEntity > & mycurve3d )

    Stores <myedge> in "myEdges" and <mycurve3d> in "myCurves". Returns the index of <myedge>.

    ◆ AddVertex()

    int BRepToIGESBRep_Entity::AddVertex ( const TopoDS_Vertex & myvertex)

    Stores <myvertex> in "myVertices" Returns the index of <myvertex>.

    ◆ Clear()

    void BRepToIGESBRep_Entity::Clear ( )

    Clears the contents of the fields.

    ◆ IndexEdge()

    int BRepToIGESBRep_Entity::IndexEdge ( const TopoDS_Edge & myedge) const

    Returns the index of <myedge> in "myEdges".

    ◆ IndexVertex()

    int BRepToIGESBRep_Entity::IndexVertex ( const TopoDS_Vertex & myvertex) const

    Returns the index of <myvertex> in "myVertices".

    ◆ TransferCompound()

    occ::handle< IGESData_IGESEntity > BRepToIGESBRep_Entity::TransferCompound ( const TopoDS_Compound & start,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )

    Transfer a Compound entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferCompSolid()

    occ::handle< IGESData_IGESEntity > BRepToIGESBRep_Entity::TransferCompSolid ( const TopoDS_CompSolid & start,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )

    Transfer an CompSolid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferEdge() [1/2]

    occ::handle< IGESData_IGESEntity > BRepToIGESBRep_Entity::TransferEdge ( const TopoDS_Edge & myedge)

    Transfer an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferEdge() [2/2]

    occ::handle< IGESData_IGESEntity > BRepToIGESBRep_Entity::TransferEdge ( const TopoDS_Edge & myedge,
    const TopoDS_Face & myface,
    const double length )

    Transfer an Edge entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferEdgeList()

    void BRepToIGESBRep_Entity::TransferEdgeList ( )

    Transfer an Edge entity from TopoDS to IGES.

    ◆ TransferFace()

    occ::handle< IGESSolid_Face > BRepToIGESBRep_Entity::TransferFace ( const TopoDS_Face & start)

    Transfer a Face entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferShape()

    occ::handle< IGESData_IGESEntity > BRepToIGESBRep_Entity::TransferShape ( const TopoDS_Shape & start,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )
    overridevirtual

    Returns the result of the transfert of any Shape If the transfer has failed, this member returns a NullEntity.

    Reimplemented from BRepToIGES_BREntity.

    ◆ TransferShell()

    occ::handle< IGESSolid_Shell > BRepToIGESBRep_Entity::TransferShell ( const TopoDS_Shell & start,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )

    Transfer an Shell entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferSolid()

    occ::handle< IGESSolid_ManifoldSolid > BRepToIGESBRep_Entity::TransferSolid ( const TopoDS_Solid & start,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )

    Transfer a Solid entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.

    ◆ TransferVertexList()

    void BRepToIGESBRep_Entity::TransferVertexList ( )

    Create the VertexList entity.

    ◆ TransferWire()

    occ::handle< IGESSolid_Loop > BRepToIGESBRep_Entity::TransferWire ( const TopoDS_Wire & mywire,
    const TopoDS_Face & myface,
    const double length )

    Transfer a Wire entity from TopoDS to IGES. Returns the curve associated to mywire in the parametric space of myface. If this Entity could not be converted, this member returns a NullEntity.


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