0025923: Remove small wires on face read from STEP
[occt.git] / src / PBRep / PBRep_Polygon3D.cxx
1 // Copyright (c) 1998-1999 Matra Datavision
2 // Copyright (c) 1999-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 #include <PBRep_Polygon3D.ixx>
16
17
18
19 //=======================================================================
20 //function : PBRep_Polygon3D::PBRep_Polygon3D
21 //purpose  : 
22 //=======================================================================
23
24 PBRep_Polygon3D::PBRep_Polygon3D(const Handle(PPoly_Polygon3D)& aPPol,
25                                  const PTopLoc_Location&        aPLoc) : 
26     PBRep_CurveRepresentation(aPLoc),
27     myPolygon3D(aPPol)
28      
29 {
30 }
31
32 //=======================================================================
33 //function : PBRep_Polygon3D::IsPolygon3D
34 //purpose  : 
35 //=======================================================================
36
37 Standard_Boolean PBRep_Polygon3D::IsPolygon3D() const 
38 {
39   return Standard_True;
40 }
41
42 //=======================================================================
43 //function : PBRep_Polygon3D::IsPolygon3D
44 //purpose  : 
45 //=======================================================================
46
47 Handle(PPoly_Polygon3D) PBRep_Polygon3D::Polygon3D() const 
48 {
49   return myPolygon3D;
50 }
51