X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FRWMesh%2FRWMesh_FaceIterator.hxx;h=f70b3786107bf4635b2f4c980f9f954b30413015;hb=1b6b8afcd0679fe632d31a059c8b658f8673c91e;hpb=ff1f0c9ae2515b35fd8ebf8453e9041c821b517f diff --git a/src/RWMesh/RWMesh_FaceIterator.hxx b/src/RWMesh/RWMesh_FaceIterator.hxx index 6547c11f54..f70b378610 100644 --- a/src/RWMesh/RWMesh_FaceIterator.hxx +++ b/src/RWMesh/RWMesh_FaceIterator.hxx @@ -100,7 +100,7 @@ public: bool HasTexCoords() const { return !myPolyTriang.IsNull() && myPolyTriang->HasUVNodes(); } //! Return normal at specified node index with face transformation applied and face orientation applied. - gp_Dir NormalTransformed (Standard_Integer theNode) + gp_Dir NormalTransformed (Standard_Integer theNode) const { gp_Dir aNorm = normal (theNode); if (myTrsf.Form() != gp_Identity) @@ -148,7 +148,7 @@ public: gp_Pnt node (const Standard_Integer theNode) const { return myPolyTriang->Node (theNode); } //! Return normal at specified node index without face transformation applied. - Standard_EXPORT gp_Dir normal (Standard_Integer theNode); + Standard_EXPORT gp_Dir normal (Standard_Integer theNode) const; //! Return triangle with specified index. Poly_Triangle triangle (Standard_Integer theElemIndex) const { return myPolyTriang->Triangle (theElemIndex); } @@ -185,7 +185,7 @@ private: TopoDS_Face myFace; //!< current face Handle(Poly_Triangulation) myPolyTriang; //!< triangulation of current face TopLoc_Location myFaceLocation; //!< current face location - BRepLProp_SLProps mySLTool; //!< auxiliary tool for fetching normals from surface + mutable BRepLProp_SLProps mySLTool; //!< auxiliary tool for fetching normals from surface BRepAdaptor_Surface myFaceAdaptor; //!< surface adaptor for fetching normals from surface Standard_Boolean myHasNormals; //!< flag indicating that current face has normals gp_Trsf myTrsf; //!< current face transformation