summaryrefslogtreecommitdiff
path: root/inc/HLRAlgo_PolyHidingData.lxx
blob: c1118a0984b6bb48d6eca67c85dfb8efd128b200 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// File:	HLRAlgo_PolyHidingData.lxx
// Created:	Wed Jun 21 19:29:59 1995
// Author:	Christophe MARION
//		<cma@ecolox>

//=======================================================================
//function : PolyHidingData
//purpose  : 
//=======================================================================

inline HLRAlgo_PolyHidingData::HLRAlgo_PolyHidingData ()
{}

//=======================================================================
//function : Set
//purpose  : 
//=======================================================================

inline void
HLRAlgo_PolyHidingData::Set (const Standard_Integer Index,
			     const Standard_Integer Minim,
			     const Standard_Integer Maxim,
			     const Standard_Real A,
			     const Standard_Real B,
			     const Standard_Real C,
			     const Standard_Real D)
{
  myMinMax[0] = Index;
  myMinMax[1] = Minim;
  myMinMax[2] = Maxim;
  myPlan[0]  = A;
  myPlan[1]  = B;
  myPlan[2]  = C;
  myPlan[3]  = D;
}

//=======================================================================
//function : IndexAndMinMax
//purpose  : 
//=======================================================================

inline Standard_Address
HLRAlgo_PolyHidingData::IndexAndMinMax() const
{ return (Standard_Address)myMinMax; }

//=======================================================================
//function : Plan
//purpose  : 
//=======================================================================

inline Standard_Address
HLRAlgo_PolyHidingData::Plan() const
{ return (Standard_Address)myPlan; }