Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
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:
Inheritance graph
[legend]

Public Member Functions

 BRepToIGES_BRWire ()
 
 BRepToIGES_BRWire (const BRepToIGES_BREntity &BR)
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity TransferEdge (const TopoDS_Edge &myedge, const Standard_Boolean isBRepMode)
 Transfert an Edge entity from TopoDS to IGES
If this Entity could not be converted,
this member returns a NullEntity.
isBRepMode indicates if write mode is BRep
(True when called from BRepToIGESBRep and False when from BRepToIGES)
If edge is REVERSED and isBRepMode is False 3D edge curve is reversed,
otherwise, not.
More...
 
Handle_IGESData_IGESEntity TransferEdge (const TopoDS_Edge &myedge, const TopoDS_Face &myface, const Standard_Real length, const Standard_Boolean isBRepMode)
 Transfert an Edge entity on a Face from TopoDS to IGES
If this Entity could not be converted,
this member returns a NullEntity.
isBRepMode indicates if write mode is BRep
(True when called from BRepToIGESBRep and False when from BRepToIGES)
passing into Transform2dCurve()
More...
 
Handle_IGESData_IGESEntity 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.
More...
 
Handle_IGESData_IGESEntity TransferWire (const TopoDS_Wire &mywire, const TopoDS_Face &myface, Handle< IGESData_IGESEntity > &mycurve2d, const Standard_Real length)
 Transfert 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.
Parameter IsRevol is not used anymore
More...
 
- Public Member Functions inherited from BRepToIGES_BREntity
 BRepToIGES_BREntity ()
 Creates a tool BREntity
More...
 
void Init ()
 Initializes the field of the tool BREntity with
default creating values.
More...
 
void SetModel (const Handle< IGESData_IGESModel > &model)
 Set the value of "TheModel"
More...
 
Handle_IGESData_IGESModel GetModel () const
 Returns the value of "TheModel"
More...
 
Standard_Real GetUnit () const
 Returns the value of the UnitFlag of the header of the model
in meters.
More...
 
void SetTransferProcess (const Handle< Transfer_FinderProcess > &TP)
 Set the value of "TheMap"
More...
 
Handle_Transfer_FinderProcess GetTransferProcess () const
 Returns the value of "TheMap"
More...
 
virtual Handle_IGESData_IGESEntity TransferShape (const TopoDS_Shape &start)
 Returns the result of the transfert of any Shape
If the transfer has failed, this member return a NullEntity.
More...
 
void AddFail (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Fail message
More...
 
void AddWarning (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Warning message
More...
 
void AddFail (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Fail message
More...
 
void AddWarning (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Warning message
More...
 
Standard_Boolean HasShapeResult (const TopoDS_Shape &start) const
 Returns True if start was already treated and has a result in "TheMap"
else returns False.
More...
 
Handle_Standard_Transient GetShapeResult (const TopoDS_Shape &start) const
 Returns the result of the transfer of the Shape "start" contained
in "TheMap" . (if HasShapeResult is True).
More...
 
void SetShapeResult (const TopoDS_Shape &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Shape "start".
More...
 
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.
More...
 
Handle_Standard_Transient GetShapeResult (const Handle< Standard_Transient > &start) const
 Returns the result of the transfer of the Transient "start" contained
in "TheMap" . (if HasShapeResult is True).
More...
 
void SetShapeResult (const Handle< Standard_Transient > &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Transient "start".
More...
 
Standard_Boolean GetConvertSurfaceMode () const
 Returns mode for conversion of surfaces
(value of parameter write.convertsurface.mode)
More...
 
Standard_Boolean GetPCurveMode () const
 Returns mode for writing pcurves
(value of parameter write.surfacecurve.mode)
More...
 
virtual void Delete ()
 
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::BRepToIGES_BRWire ( )
BRepToIGES_BRWire::BRepToIGES_BRWire ( const BRepToIGES_BREntity BR)

Member Function Documentation

Handle_IGESData_IGESEntity BRepToIGES_BRWire::TransferEdge ( const TopoDS_Edge myedge,
const Standard_Boolean  isBRepMode 
)

Transfert an Edge entity from TopoDS to IGES
If this Entity could not be converted,
this member returns a NullEntity.
isBRepMode indicates if write mode is BRep
(True when called from BRepToIGESBRep and False when from BRepToIGES)
If edge is REVERSED and isBRepMode is False 3D edge curve is reversed,
otherwise, not.

Handle_IGESData_IGESEntity BRepToIGES_BRWire::TransferEdge ( const TopoDS_Edge myedge,
const TopoDS_Face myface,
const Standard_Real  length,
const Standard_Boolean  isBRepMode 
)

Transfert an Edge entity on a Face from TopoDS to IGES
If this Entity could not be converted,
this member returns a NullEntity.
isBRepMode indicates if write mode is BRep
(True when called from BRepToIGESBRep and False when from BRepToIGES)
passing into Transform2dCurve()

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.

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.

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.

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.

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.

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.

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.

Handle_IGESData_IGESEntity BRepToIGES_BRWire::TransferWire ( const TopoDS_Wire mywire,
const TopoDS_Face myface,
Handle< IGESData_IGESEntity > &  mycurve2d,
const Standard_Real  length 
)

Transfert 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.
Parameter IsRevol is not used anymore


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