// 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 _ShapeConstruct_MakeTriangulation_HeaderFile #define _ShapeConstruct_MakeTriangulation_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _TopoDS_Wire_HeaderFile #include #endif #ifndef _BRepBuilderAPI_MakeShape_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class TColgp_Array1OfPnt; class TopoDS_Wire; class ShapeConstruct_MakeTriangulation : public BRepBuilderAPI_MakeShape { 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 ShapeConstruct_MakeTriangulation(const TColgp_Array1OfPnt& pnts,const Standard_Real prec = 0.0); Standard_EXPORT ShapeConstruct_MakeTriangulation(const TopoDS_Wire& wire,const Standard_Real prec = 0.0); Standard_EXPORT virtual void Build() ; Standard_EXPORT virtual Standard_Boolean IsDone() const; protected: private: Standard_EXPORT void Triangulate(const TopoDS_Wire& wire) ; Standard_EXPORT void AddFacet(const TopoDS_Wire& wire) ; Standard_Real myPrecision; TopoDS_Wire myWire; }; // other Inline functions and methods (like "C++: function call" methods) #endif