// 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 _PTopoDS_TShape_HeaderFile #define _PTopoDS_TShape_HeaderFile #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Standard_HeaderFile #include #endif #ifndef _Handle_PTopoDS_TShape_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_PTopoDS_HArray1OfHShape_HeaderFile #include #endif #ifndef _Handle_PTopoDS_HShape_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Persistent_HeaderFile #include #endif // The Convex method can conflict with Convex defined as an integer // in X.h #ifdef Convex #undef Convex #endif class PTopoDS_HArray1OfHShape; class PTopoDS_HShape; class PTopoDS_TShape : public Standard_Persistent { public: //! Returns the type as a term of the ShapeEnum enum :
//! VERTEX, EDGE, WIRE, FACE, ....
Standard_EXPORT virtual TopAbs_ShapeEnum ShapeType() const = 0; //! Returns the modification flag.
Standard_EXPORT Standard_Boolean Modified() const; //! Sets the modification flag.
Standard_EXPORT void Modified(const Standard_Boolean M) ; //! Returns the checked flag.
Standard_EXPORT Standard_Boolean Checked() const; //! Sets the checked flag.
Standard_EXPORT void Checked(const Standard_Boolean C) ; //! Returns the orientability flag.
Standard_EXPORT Standard_Boolean Orientable() const; //! Sets the orientability flag.
Standard_EXPORT void Orientable(const Standard_Boolean C) ; //! Returns the closedness flag.
Standard_EXPORT Standard_Boolean Closed() const; //! Sets the closedness flag.
Standard_EXPORT void Closed(const Standard_Boolean C) ; //! Returns the infinity flag.
Standard_EXPORT Standard_Boolean Infinite() const; //! Sets the infinity flag.
Standard_EXPORT void Infinite(const Standard_Boolean C) ; //! Returns the convexness flag.
Standard_EXPORT Standard_Boolean Convex() const; //! Sets the convexness flag.
Standard_EXPORT void Convex(const Standard_Boolean C) ; //! Sets the hshape list
Standard_EXPORT Handle_PTopoDS_HArray1OfHShape Shapes() const; //! Sets the i th element of the HShape list
Standard_EXPORT Handle_PTopoDS_HShape Shapes(const Standard_Integer I) const; //! Returns the HShape list
Standard_EXPORT void Shapes(const Handle(PTopoDS_HArray1OfHShape)& S) ; //! Returns the i th element of the hshape list
Standard_EXPORT void Shapes(const Standard_Integer I,const Handle(PTopoDS_HShape)& S) ; PTopoDS_TShape(const Storage_stCONSTclCOM& a) : Standard_Persistent(a) { } Handle(PTopoDS_HArray1OfHShape) _CSFDB_GetPTopoDS_TShapemyShapes() const { return myShapes; } void _CSFDB_SetPTopoDS_TShapemyShapes(const Handle(PTopoDS_HArray1OfHShape)& p) { myShapes = p; } Standard_Integer _CSFDB_GetPTopoDS_TShapemyFlags() const { return myFlags; } void _CSFDB_SetPTopoDS_TShapemyFlags(const Standard_Integer p) { myFlags = p; } DEFINE_STANDARD_RTTI(PTopoDS_TShape) protected: Standard_EXPORT PTopoDS_TShape(); private: Handle_PTopoDS_HArray1OfHShape myShapes; Standard_Integer myFlags; }; // other Inline functions and methods (like "C++: function call" methods) #endif