0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / HLRAlgo / HLRAlgo_PolyInternalData.lxx
CommitLineData
b311480e 1// Created on: 1993-01-11
2// Created by: Christophe MARION
3// Copyright (c) 1993-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#include <TColStd_HArray1OfInteger.hxx>
18#include <TColStd_HArray1OfBoolean.hxx>
19#include <TColStd_HArray1OfReal.hxx>
20#include <TColgp_HArray1OfPnt.hxx>
21#include <TColgp_HArray1OfPnt2d.hxx>
22#include <TColgp_HArray1OfDir.hxx>
23#include <HLRAlgo_HArray1OfTData.hxx>
24#include <HLRAlgo_HArray1OfPISeg.hxx>
25#include <HLRAlgo_HArray1OfPINod.hxx>
26
27//=======================================================================
28//function : DecTData
29//purpose :
30//=======================================================================
31
32inline void HLRAlgo_PolyInternalData::DecTData ()
33{ myNbTData--; }
34
35//=======================================================================
36//function : DecPISeg
37//purpose :
38//=======================================================================
39
40inline void HLRAlgo_PolyInternalData::DecPISeg ()
41{ myNbPISeg--; }
42
43//=======================================================================
44//function : DecPINod
45//purpose :
46//=======================================================================
47
48inline void HLRAlgo_PolyInternalData::DecPINod ()
49{ myNbPINod--; }
50
51//=======================================================================
52//function : NbTData
53//purpose :
54//=======================================================================
55
56inline Standard_Integer
57HLRAlgo_PolyInternalData::NbTData () const
58{ return myNbTData; }
59
60//=======================================================================
61//function : NbPISeg
62//purpose :
63//=======================================================================
64
65inline Standard_Integer
66HLRAlgo_PolyInternalData::NbPISeg () const
67{ return myNbPISeg; }
68
69//=======================================================================
70//function : NbPINod
71//purpose :
72//=======================================================================
73
74inline Standard_Integer
75HLRAlgo_PolyInternalData::NbPINod () const
76{ return myNbPINod; }
77
78//=======================================================================
79//function : Planar
80//purpose :
81//=======================================================================
82
83inline Standard_Boolean
84HLRAlgo_PolyInternalData::Planar () const
85{ return myPlanar; }
86
87//=======================================================================
88//function : Planar
89//purpose :
90//=======================================================================
91
92inline void
93HLRAlgo_PolyInternalData::Planar (const Standard_Boolean B)
94{ myPlanar = B; }
95
96//=======================================================================
97//function : IntOutL
98//purpose :
99//=======================================================================
100
101inline Standard_Boolean
102HLRAlgo_PolyInternalData::IntOutL () const
103{ return myIntOutL; }
104
105//=======================================================================
106//function : IntOutL
107//purpose :
108//=======================================================================
109
110inline void
111HLRAlgo_PolyInternalData::IntOutL (const Standard_Boolean B)
112{ myIntOutL = B; }
113
114//=======================================================================
115//function : TData
116//purpose :
117//=======================================================================
118
119inline HLRAlgo_Array1OfTData &
120HLRAlgo_PolyInternalData::TData () const
121{ return myTData->ChangeArray1(); }
122
123//=======================================================================
124//function : PINod
125//purpose :
126//=======================================================================
127
128inline HLRAlgo_Array1OfPINod &
129HLRAlgo_PolyInternalData::PINod () const
130{ return myPINod->ChangeArray1(); }
131
132//=======================================================================
133//function : PISeg
134//purpose :
135//=======================================================================
136
137inline HLRAlgo_Array1OfPISeg &
138HLRAlgo_PolyInternalData::PISeg () const
139{ return myPISeg->ChangeArray1(); }