summaryrefslogtreecommitdiff
path: root/src/PBRep/PBRep_Polygon3D.cxx
blob: d7793d7c04e2be562488ebcc05674e912f1133fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#include <PBRep_Polygon3D.ixx>



//=======================================================================
//function : PBRep_Polygon3D::PBRep_Polygon3D
//purpose  : 
//=======================================================================

PBRep_Polygon3D::PBRep_Polygon3D(const Handle(PPoly_Polygon3D)& aPPol,
				 const PTopLoc_Location&        aPLoc) : 
    PBRep_CurveRepresentation(aPLoc),
    myPolygon3D(aPPol)
     
{
}

//=======================================================================
//function : PBRep_Polygon3D::IsPolygon3D
//purpose  : 
//=======================================================================

Standard_Boolean PBRep_Polygon3D::IsPolygon3D() const 
{
  return Standard_True;
}

//=======================================================================
//function : PBRep_Polygon3D::IsPolygon3D
//purpose  : 
//=======================================================================

Handle(PPoly_Polygon3D) PBRep_Polygon3D::Polygon3D() const 
{
  return myPolygon3D;
}