1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Get() method of Poly_Element was made const

This commit is contained in:
ssv
2015-07-02 13:27:38 +03:00
parent fa9fbda259
commit f3a397c320
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ void Poly_Element::Set (const Standard_Integer theTriangle1,
//=======================================================================
void Poly_Element::Get (Standard_Integer& theTriangle1,
Standard_Integer& theTriangle2)
Standard_Integer& theTriangle2) const
{
theTriangle1 = myTriangles[0];
theTriangle2 = myTriangles[1];

View File

@@ -41,7 +41,7 @@ public:
//! Returns the triangles indices of this element in theTriangle1, theTriangle2.
Standard_EXPORT void Get (Standard_Integer& theTriangle1,
Standard_Integer& theTriangle2);
Standard_Integer& theTriangle2) const;
//! @return the triangle index of given element theIndex.
//! Raises OutOfRange from Standard if theIndex is not in 1,2.