7874f79dbb783547638a0b765d5a5f3574a1fe61
[occt.git] / src / Graphic3d / Graphic3d_ArrayOfPolygons.cxx
1 // Created on: 2001-01-04
2 // Copyright (c) 2001-2014 OPEN CASCADE SAS
3 //
4 // This file is part of Open CASCADE Technology software library.
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
11 //
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
14
15
16 #include <Graphic3d_ArrayOfPolygons.hxx>
17 #include <Standard_Type.hxx>
18
19 IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfPolygons,Graphic3d_ArrayOfPrimitives)
20
21 Graphic3d_ArrayOfPolygons::Graphic3d_ArrayOfPolygons (const Standard_Integer theMaxVertexs,
22                                                       const Standard_Integer theMaxBounds,
23                                                       const Standard_Integer theMaxEdges,
24                                                       const Standard_Boolean theHasVNormals,
25                                                       const Standard_Boolean theHasVColors,
26                                                       const Standard_Boolean theHasFColors,
27                                                       const Standard_Boolean theHasVTexels)
28 : Graphic3d_ArrayOfPrimitives (Graphic3d_TOPA_POLYGONS, theMaxVertexs, theMaxBounds, theMaxEdges, theHasVNormals, theHasVColors, theHasFColors, theHasVTexels)
29 {}