Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/BinMNaming_NamedShapeDriver.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 2004-06-07
0002 // Created by: Sergey ZARITCHNY <szy@opencascade.com>
0003 // Copyright (c) 2004-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 //=======================================================================
0017 //function : SetWithTriangles
0018 //purpose  : 
0019 //=======================================================================
0020 
0021 inline void BinMNaming_NamedShapeDriver::SetWithTriangles(const Standard_Boolean isWithTriangles) 
0022 {
0023   myWithTriangles = isWithTriangles;
0024   if (myShapeSet)
0025     myShapeSet->SetWithTriangles (isWithTriangles);
0026 }
0027 
0028 //=======================================================================
0029 //function : SetWithNormals
0030 //purpose  : 
0031 //=======================================================================
0032 
0033 inline void BinMNaming_NamedShapeDriver::SetWithNormals(const Standard_Boolean isWithNormals) 
0034 {
0035   myWithNormals = isWithNormals;
0036   if (myShapeSet)
0037     myShapeSet->SetWithNormals (isWithNormals);
0038 
0039 }