Open CASCADE Technology 7.8.2.dev
BRepToIGES_BRWire Class Reference

This class implements the transfer of Shape Entities from Geom To IGES. These can be : . Vertex . Edge . Wire. More...

#include <BRepToIGES_BRWire.hxx>

Inheritance diagram for BRepToIGES_BRWire:

Public Member Functions

 BRepToIGES_BRWire ()
 
 BRepToIGES_BRWire (const BRepToIGES_BREntity &BR)
 
Handle< IGESData_IGESEntityTransferWire (const TopoDS_Shape &start)
 Transfert a Shape entity from TopoDS to IGES this entity must be a Vertex or an Edge or a Wire. If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferVertex (const TopoDS_Vertex &myvertex)
 Transfert a Vertex entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferVertex (const TopoDS_Vertex &myvertex, const TopoDS_Edge &myedge, Standard_Real &parameter)
 Transfert a Vertex entity on an Edge from TopoDS to IGES Returns the parameter of myvertex on myedge. If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferVertex (const TopoDS_Vertex &myvertex, const TopoDS_Edge &myedge, const TopoDS_Face &myface, Standard_Real &parameter)
 Transfert a Vertex entity of an edge on a Face from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on myface If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferVertex (const TopoDS_Vertex &myvertex, const TopoDS_Edge &myedge, const Handle< Geom_Surface > &mysurface, const TopLoc_Location &myloc, Standard_Real &parameter)
 Transfert a Vertex entity of an edge on a Surface from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on mysurface If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferVertex (const TopoDS_Vertex &myvertex, const TopoDS_Face &myface, gp_Pnt2d &mypoint)
 Transfert a Vertex entity on a Face from TopoDS to IGES Returns the parameters of myvertex on myface If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferEdge (const TopoDS_Edge &theEdge, const TopTools_DataMapOfShapeShape &theOriginMap, const Standard_Boolean theIsBRepMode)
 Transfert an Edge 3d entity from TopoDS to IGES If edge is REVERSED and isBRepMode is False 3D edge curve is reversed.
 
Handle< IGESData_IGESEntityTransferEdge (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const TopTools_DataMapOfShapeShape &theOriginMap, const Standard_Real theLength, const Standard_Boolean theIsBRepMode)
 Transfert an Edge 2d entity on a Face from TopoDS to IGES.
 
Handle< IGESData_IGESEntityTransferWire (const TopoDS_Wire &mywire)
 Transfert a Wire entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
 
Handle< IGESData_IGESEntityTransferWire (const TopoDS_Wire &theWire, const TopoDS_Face &theFace, const TopTools_DataMapOfShapeShape &theOriginMap, Handle< IGESData_IGESEntity > &theCurve2d, const Standard_Real theLength)
 Transfert a Wire entity from TopoDS to IGES.
 
- 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 Handle< IGESData_IGESModel > &model)
 Set the value of "TheModel".
 
Handle< IGESData_IGESModelGetModel () const
 Returns the value of "TheModel".
 
Standard_Real GetUnit () const
 Returns the value of the UnitFlag of the header of the model in meters.
 
void SetTransferProcess (const Handle< Transfer_FinderProcess > &TP)
 Set the value of "TheMap".
 
Handle< Transfer_FinderProcessGetTransferProcess () const
 Returns the value of "TheMap".
 
virtual Handle< IGESData_IGESEntityTransferShape (const TopoDS_Shape &start, const Message_ProgressRange &theProgress=Message_ProgressRange())
 Returns the result of the transfert of any Shape If the transfer has failed, this member return a NullEntity.
 
void AddFail (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Fail message.
 
void AddWarning (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Warning message.
 
void AddFail (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Fail message.
 
void AddWarning (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Warning message.
 
Standard_Boolean HasShapeResult (const TopoDS_Shape &start) const
 Returns True if start was already treated and has a result in "TheMap" else returns False.
 
Handle< Standard_TransientGetShapeResult (const TopoDS_Shape &start) const
 Returns the result of the transfer of the Shape "start" contained in "TheMap" . (if HasShapeResult is True).
 
void SetShapeResult (const TopoDS_Shape &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Shape "start".
 
Standard_Boolean HasShapeResult (const Handle< Standard_Transient > &start) const
 Returns True if start was already treated and has a result in "TheMap" else returns False.
 
Handle< Standard_TransientGetShapeResult (const Handle< Standard_Transient > &start) const
 Returns the result of the transfer of the Transient "start" contained in "TheMap" . (if HasShapeResult is True).
 
void SetShapeResult (const Handle< Standard_Transient > &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Transient "start".
 
Standard_Boolean GetConvertSurfaceMode () const
 Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode)
 
Standard_Boolean GetPCurveMode () const
 Returns mode for writing pcurves (value of parameter write.surfacecurve.mode)
 
virtual ~BRepToIGES_BREntity ()
 

Detailed Description

This class implements the transfer of Shape Entities from Geom To IGES. These can be : . Vertex . Edge . Wire.

Constructor & Destructor Documentation

◆ BRepToIGES_BRWire() [1/2]

BRepToIGES_BRWire::BRepToIGES_BRWire ( )

◆ BRepToIGES_BRWire() [2/2]

BRepToIGES_BRWire::BRepToIGES_BRWire ( const BRepToIGES_BREntity & BR)

Member Function Documentation

◆ TransferEdge() [1/2]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferEdge ( const TopoDS_Edge & theEdge,
const TopoDS_Face & theFace,
const TopTools_DataMapOfShapeShape & theOriginMap,
const Standard_Real theLength,
const Standard_Boolean theIsBRepMode )

Transfert an Edge 2d entity on a Face from TopoDS to IGES.

Parameters
[in]theEdgeinput edge to transfer
[in]theFaceinput face to get the surface and UV coordinates from it
[in]theOriginMapshapemap contains the original shapes. Should be empty if face is not reversed
[in]theLengthinput surface length
[in]theIsBRepModeindicates if write mode is BRep
Returns
Iges entity or null if could not be converted

◆ TransferEdge() [2/2]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferEdge ( const TopoDS_Edge & theEdge,
const TopTools_DataMapOfShapeShape & theOriginMap,
const Standard_Boolean theIsBRepMode )

Transfert an Edge 3d entity from TopoDS to IGES If edge is REVERSED and isBRepMode is False 3D edge curve is reversed.

Parameters
[in]theEdgeinput edge to transfer
[in]theOriginMapshapemap contains the original shapes. Should be empty if face is not reversed
[in]theIsBRepModeindicates if write mode is BRep
Returns
Iges entity or null if could not be converted

◆ TransferVertex() [1/5]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferVertex ( const TopoDS_Vertex & myvertex)

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

◆ TransferVertex() [2/5]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferVertex ( const TopoDS_Vertex & myvertex,
const TopoDS_Edge & myedge,
const Handle< Geom_Surface > & mysurface,
const TopLoc_Location & myloc,
Standard_Real & parameter )

Transfert a Vertex entity of an edge on a Surface from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on mysurface If this Entity could not be converted, this member returns a NullEntity.

◆ TransferVertex() [3/5]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferVertex ( const TopoDS_Vertex & myvertex,
const TopoDS_Edge & myedge,
const TopoDS_Face & myface,
Standard_Real & parameter )

Transfert a Vertex entity of an edge on a Face from TopoDS to IGES Returns the parameter of myvertex on the pcurve of myedge on myface If this Entity could not be converted, this member returns a NullEntity.

◆ TransferVertex() [4/5]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferVertex ( const TopoDS_Vertex & myvertex,
const TopoDS_Edge & myedge,
Standard_Real & parameter )

Transfert a Vertex entity on an Edge from TopoDS to IGES Returns the parameter of myvertex on myedge. If this Entity could not be converted, this member returns a NullEntity.

◆ TransferVertex() [5/5]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferVertex ( const TopoDS_Vertex & myvertex,
const TopoDS_Face & myface,
gp_Pnt2d & mypoint )

Transfert a Vertex entity on a Face from TopoDS to IGES Returns the parameters of myvertex on myface If this Entity could not be converted, this member returns a NullEntity.

◆ TransferWire() [1/3]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferWire ( const TopoDS_Shape & start)

Transfert a Shape entity from TopoDS to IGES this entity must be a Vertex or an Edge or a Wire. If this Entity could not be converted, this member returns a NullEntity.

◆ TransferWire() [2/3]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferWire ( const TopoDS_Wire & mywire)

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

◆ TransferWire() [3/3]

Handle< IGESData_IGESEntity > BRepToIGES_BRWire::TransferWire ( const TopoDS_Wire & theWire,
const TopoDS_Face & theFace,
const TopTools_DataMapOfShapeShape & theOriginMap,
Handle< IGESData_IGESEntity > & theCurve2d,
const Standard_Real theLength )

Transfert a Wire entity from TopoDS to IGES.

Parameters
[in]theWireinput wire
[in]theFaceinput face
[in]theOriginMapshapemap contains the original shapes. Should be empty if face is not reversed
[in]theCurve2dinput curve 2d
[in]theLengthinput surface length
Returns
Iges entity (the curve associated to mywire in the parametric space of myface) or null if could not be converted

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