0022627: Change OCCT memory management defaults
[occt.git] / src / Prs3d / Prs3d_IsoAspect.cxx
1 #define GER61351                //GG_171199     Enable to set an object RGB color
2 //                                                instead a restricted object NameOfColor.
3
4 #include <Prs3d_IsoAspect.ixx>
5
6 #ifdef GER61351
7 Prs3d_IsoAspect::Prs3d_IsoAspect(const Quantity_Color &aColor,
8                              const Aspect_TypeOfLine aType,
9                              const Standard_Real aWidth,
10                              const Standard_Integer aNumber) 
11  :Prs3d_LineAspect (aColor,aType,aWidth) {
12    myNumber = aNumber;
13 }
14 #endif
15
16 Prs3d_IsoAspect::Prs3d_IsoAspect(const Quantity_NameOfColor aColor,
17                              const Aspect_TypeOfLine aType,
18                              const Standard_Real aWidth,
19                              const Standard_Integer aNumber) 
20  :Prs3d_LineAspect (aColor,aType,aWidth) {
21    myNumber = aNumber;
22 }
23 void Prs3d_IsoAspect::SetNumber (const Standard_Integer aNumber) {
24   myNumber = aNumber;
25 }
26
27 Standard_Integer Prs3d_IsoAspect::Number () const {return myNumber;}