Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_CurveStyleFontPattern.cxx
1 #include <StepVisual_CurveStyleFontPattern.ixx>
2
3
4 StepVisual_CurveStyleFontPattern::StepVisual_CurveStyleFontPattern ()  {}
5
6 void StepVisual_CurveStyleFontPattern::Init(
7         const Standard_Real aVisibleSegmentLength,
8         const Standard_Real aInvisibleSegmentLength)
9 {
10         // --- classe own fields ---
11         visibleSegmentLength = aVisibleSegmentLength;
12         invisibleSegmentLength = aInvisibleSegmentLength;
13 }
14
15
16 void StepVisual_CurveStyleFontPattern::SetVisibleSegmentLength(const Standard_Real aVisibleSegmentLength)
17 {
18         visibleSegmentLength = aVisibleSegmentLength;
19 }
20
21 Standard_Real StepVisual_CurveStyleFontPattern::VisibleSegmentLength() const
22 {
23         return visibleSegmentLength;
24 }
25
26 void StepVisual_CurveStyleFontPattern::SetInvisibleSegmentLength(const Standard_Real aInvisibleSegmentLength)
27 {
28         invisibleSegmentLength = aInvisibleSegmentLength;
29 }
30
31 Standard_Real StepVisual_CurveStyleFontPattern::InvisibleSegmentLength() const
32 {
33         return invisibleSegmentLength;
34 }