// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _BRepToIGES_BRWire_HeaderFile #define _BRepToIGES_BRWire_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepToIGES_BREntity_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_Geom_Surface_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class BRepToIGES_BREntity; class IGESData_IGESEntity; class TopoDS_Shape; class TopoDS_Vertex; class TopoDS_Edge; class TopoDS_Face; class Geom_Surface; class TopLoc_Location; class gp_Pnt2d; class TopoDS_Wire; //! This class implements the transfer of Shape Entities
//! from Geom To IGES. These can be :
//! . Vertex
//! . Edge
//! . Wire
class BRepToIGES_BRWire : public BRepToIGES_BREntity { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT BRepToIGES_BRWire(); Standard_EXPORT BRepToIGES_BRWire(const BRepToIGES_BREntity& BR); //! 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.
Standard_EXPORT Handle_IGESData_IGESEntity TransferWire(const TopoDS_Shape& start) ; //! Transfert a Vertex entity from TopoDS to IGES
//! If this Entity could not be converted,
//! this member returns a NullEntity.
Standard_EXPORT Handle_IGESData_IGESEntity TransferVertex(const TopoDS_Vertex& myvertex) ; //! 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.
Standard_EXPORT Handle_IGESData_IGESEntity TransferVertex(const TopoDS_Vertex& myvertex,const TopoDS_Edge& myedge,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.
Standard_EXPORT 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 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.
Standard_EXPORT 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 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.
Standard_EXPORT Handle_IGESData_IGESEntity TransferVertex(const TopoDS_Vertex& myvertex,const TopoDS_Face& myface,gp_Pnt2d& mypoint) ; //! 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.
Standard_EXPORT Handle_IGESData_IGESEntity TransferEdge(const TopoDS_Edge& myedge,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()
Standard_EXPORT Handle_IGESData_IGESEntity TransferEdge(const TopoDS_Edge& myedge,const TopoDS_Face& myface,const Standard_Real length,const Standard_Boolean isBRepMode) ; //! Transfert a Wire entity from TopoDS to IGES
//! If this Entity could not be converted,
//! this member returns a NullEntity.
Standard_EXPORT Handle_IGESData_IGESEntity TransferWire(const TopoDS_Wire& mywire) ; //! 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
Standard_EXPORT Handle_IGESData_IGESEntity TransferWire(const TopoDS_Wire& mywire,const TopoDS_Face& myface,Handle(IGESData_IGESEntity)& mycurve2d,const Standard_Real length) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif