// 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 _BRepMesh_VertexTool_HeaderFile #define _BRepMesh_VertexTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepMesh_BaseAllocator_HeaderFile #include #endif #ifndef _BRepMesh_VertexCellFilter_HeaderFile #include #endif #ifndef _BRepMesh_VertexInspector_HeaderFile #include #endif #ifndef _BRepMesh_DataMapOfIntegerListOfInteger_HeaderFile #include #endif #ifndef _TColStd_Array1OfReal_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _BRepMesh_ListOfInteger_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class BRepMesh_Vertex; class gp_XY; //! Describes the data structure necessary for the
//! mesh algorithm and contains the vertices in UV space.
class BRepMesh_VertexTool { 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 BRepMesh_VertexTool(const BRepMesh_BaseAllocator& theAlloc); //! Constructs a VertexTool with an evaluation of the
//! number of vertices.
Standard_EXPORT BRepMesh_VertexTool(const Standard_Integer nbComp,const BRepMesh_BaseAllocator& theAlloc); //! Sets new size for cellfilter.
Standard_EXPORT void SetCellSize(const Standard_Real theSize) ; //! Sets new size for cellfilter.
Standard_EXPORT void SetCellSize(const Standard_Real theXSize,const Standard_Real theYSize) ; //! Sets new size for cellfilter.
Standard_EXPORT void SetTolerance(const Standard_Real theTol) ; //! Sets new size for cellfilter.
Standard_EXPORT void SetTolerance(const Standard_Real theTolX,const Standard_Real theTolY) ; //! Adds a vertex to the tool.
Standard_EXPORT Standard_Integer Add(const BRepMesh_Vertex& theVertex,const BRepMesh_ListOfInteger& theParams) ; //! Adds a vertex to the tool.
Standard_EXPORT Standard_Integer Add(const BRepMesh_Vertex& theVertex) ; //! Deletes a vertex from the tool.
Standard_EXPORT void Delete(const Standard_Integer theIndex) ; //! Returns data assigned to theIndex.
Standard_EXPORT BRepMesh_ListOfInteger& FindFromIndex(const Standard_Integer theIndex) const; BRepMesh_ListOfInteger& operator()(const Standard_Integer theIndex) const { return FindFromIndex(theIndex); } //! Selects the vertex by theIndex.
Standard_EXPORT const BRepMesh_Vertex& FindKey(const Standard_Integer theIndex) ; //! Returns an index of theVertex.
Standard_EXPORT Standard_Integer FindIndex(const BRepMesh_Vertex& theVertex) ; //! Returns a number of vertices.
Standard_EXPORT Standard_Integer Extent() const; //! Returns True when the map contains no keys.
Standard_EXPORT Standard_Boolean IsEmpty() const; //! Substitutes vertex with Index on
//! theVertex with attributes theData.
Standard_EXPORT void Substitute(const Standard_Integer Index,const BRepMesh_Vertex& theVertex,const BRepMesh_ListOfInteger& theData) ; //! Remove last node from the structure.
Standard_EXPORT void RemoveLast() ; //! Returns the list with indexes of
//! vertices that have Movability attribute
//! equal to BRepMesh_Deleted and can be
//! replaced with another node.
Standard_EXPORT const BRepMesh_ListOfInteger& GetListOfDelNodes() const; //! Prints statistics.
Standard_EXPORT void Statistics(Standard_OStream& S) const; protected: private: Standard_EXPORT void ExpandPoint(const gp_XY& thePnt,gp_XY& theMinPnt,gp_XY& theMaxPnt) ; BRepMesh_BaseAllocator myAllocator; BRepMesh_VertexCellFilter myCellFilter; BRepMesh_VertexInspector mySelector; BRepMesh_DataMapOfIntegerListOfInteger myLinksMap; TColStd_Array1OfReal myTol; }; // other Inline functions and methods (like "C++: function call" methods) #endif