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:
@@ -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];
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user