1 // Created on: 2004-06-07
2 // Created by: Sergey ZARITCHNY <szy@opencascade.com>
3 // Copyright (c) 2004-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 //=======================================================================
17 //function : GetFormat
19 //=======================================================================
21 inline Standard_Integer BinMNaming_NamedShapeDriver::GetFormatNb() const
26 //=======================================================================
27 //function : SetFormat
29 //=======================================================================
31 inline void BinMNaming_NamedShapeDriver::SetFormatNb(const Standard_Integer theFormatNb)
33 myFormatNb = theFormatNb;
36 //=======================================================================
37 //function : SetWithTriangles
39 //=======================================================================
41 inline void BinMNaming_NamedShapeDriver::SetWithTriangles(const Standard_Boolean isWithTriangles)
43 myShapeSet.SetWithTriangles(isWithTriangles);
46 //=======================================================================
47 //function : GetShapesLocations
49 //=======================================================================
50 inline BinTools_LocationSet& BinMNaming_NamedShapeDriver::GetShapesLocations()
52 return myShapeSet.ChangeLocations();