Open CASCADE Technology 7.8.0
|
This class implements the transfer of Shape Entities from Geom To IGES. These can be : . Vertex . Edge . Wire. More...
#include <BRepToIGES_BRShell.hxx>
Public Member Functions | |
BRepToIGES_BRShell () | |
BRepToIGES_BRShell (const BRepToIGES_BREntity &BR) | |
Handle< IGESData_IGESEntity > | TransferShell (const TopoDS_Shape &start, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
Transfert an Shape entity from TopoDS to IGES This entity must be a Face or a Shell. If this Entity could not be converted, this member returns a NullEntity. | |
Handle< IGESData_IGESEntity > | TransferShell (const TopoDS_Shell &start, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
Transfert an Shell entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity. | |
Handle< IGESData_IGESEntity > | TransferFace (const TopoDS_Face &start, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
Transfert a Face 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 Handle< IGESData_IGESModel > &model) |
Set the value of "TheModel". | |
Handle< IGESData_IGESModel > | GetModel () 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_FinderProcess > | GetTransferProcess () const |
Returns the value of "TheMap". | |
virtual Handle< IGESData_IGESEntity > | TransferShape (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_Transient > | GetShapeResult (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_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). | |
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 () |
This class implements the transfer of Shape Entities from Geom To IGES. These can be : . Vertex . Edge . Wire.
BRepToIGES_BRShell::BRepToIGES_BRShell | ( | ) |
BRepToIGES_BRShell::BRepToIGES_BRShell | ( | const BRepToIGES_BREntity & | BR | ) |
Handle< IGESData_IGESEntity > BRepToIGES_BRShell::TransferFace | ( | const TopoDS_Face & | start, |
const Message_ProgressRange & | theProgress = Message_ProgressRange() |
||
) |
Transfert a Face entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.
Handle< IGESData_IGESEntity > BRepToIGES_BRShell::TransferShell | ( | const TopoDS_Shape & | start, |
const Message_ProgressRange & | theProgress = Message_ProgressRange() |
||
) |
Transfert an Shape entity from TopoDS to IGES This entity must be a Face or a Shell. If this Entity could not be converted, this member returns a NullEntity.
Handle< IGESData_IGESEntity > BRepToIGES_BRShell::TransferShell | ( | const TopoDS_Shell & | start, |
const Message_ProgressRange & | theProgress = Message_ProgressRange() |
||
) |
Transfert an Shell entity from TopoDS to IGES If this Entity could not be converted, this member returns a NullEntity.