summaryrefslogtreecommitdiff
path: root/src/AIS2D/AIS2D_PrimitiveArchit.cxx
blob: f1fb5e2c5ce1a718fc2d78249787a0002d9c9374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <AIS2D_PrimitiveArchit.ixx>

AIS2D_PrimitiveArchit::AIS2D_PrimitiveArchit( const Handle(Graphic2d_Primitive)& aPrim,
                                              const Standard_Integer ind ) : 
  myPrimitive( aPrim ),
  myInd( ind )
{
}

Handle(Graphic2d_Primitive) AIS2D_PrimitiveArchit::GetPrimitive() const {
   return myPrimitive;
}

Standard_Integer AIS2D_PrimitiveArchit::GetIndex() const {
   return myInd;
}