// 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 _LocOpe_Pipe_HeaderFile #define _LocOpe_Pipe_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepFill_Pipe_HeaderFile #include #endif #ifndef _TopTools_DataMapOfShapeListOfShape_HeaderFile #include #endif #ifndef _TopoDS_Shape_HeaderFile #include #endif #ifndef _TopTools_ListOfShape_HeaderFile #include #endif #ifndef _TColGeom_SequenceOfCurve_HeaderFile #include #endif #ifndef _Handle_Geom_Curve_HeaderFile #include #endif class Standard_NoSuchObject; class Standard_DomainError; class TopoDS_Wire; class TopoDS_Shape; class TopTools_ListOfShape; class TColGeom_SequenceOfCurve; class TColgp_SequenceOfPnt; class Geom_Curve; //! Defines a pipe (near from Pipe from BRepFill),
//! with modifications provided for the Pipe feature.
class LocOpe_Pipe { 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 LocOpe_Pipe(const TopoDS_Wire& Spine,const TopoDS_Shape& Profile); const TopoDS_Shape& Spine() const; const TopoDS_Shape& Profile() const; const TopoDS_Shape& FirstShape() const; const TopoDS_Shape& LastShape() const; Standard_EXPORT const TopoDS_Shape& Shape() const; Standard_EXPORT const TopTools_ListOfShape& Shapes(const TopoDS_Shape& S) ; Standard_EXPORT const TColGeom_SequenceOfCurve& Curves(const TColgp_SequenceOfPnt& Spt) ; Standard_EXPORT Handle_Geom_Curve BarycCurve() ; protected: private: BRepFill_Pipe myPipe; TopTools_DataMapOfShapeListOfShape myMap; TopoDS_Shape myRes; TopTools_ListOfShape myGShap; TColGeom_SequenceOfCurve myCrvs; TopoDS_Shape myFirstShape; TopoDS_Shape myLastShape; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif