summaryrefslogtreecommitdiff
path: root/src/GeomFill/GeomFill_Filling.cxx
blob: 70b7016cb4507fe3305fed2fb9f101027632184e (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// File:	GeomFill_Filling.cxx
// Created:	Tue Sep 28 17:42:54 1993
// Author:	Bruno DUMORTIER
//		<dub@sdsun1>

#include <GeomFill_Filling.ixx>

#include <gp_Pnt.hxx>

//=======================================================================
//function : GeomFill_Filling
//purpose  : 
//=======================================================================

GeomFill_Filling::GeomFill_Filling()
{
}


//=======================================================================
//function : NbUPoles
//purpose  : 
//=======================================================================

Standard_Integer GeomFill_Filling::NbUPoles() const
{
  return myPoles->ColLength();
}

//=======================================================================
//function : NbVPoles
//purpose  : 
//=======================================================================

Standard_Integer GeomFill_Filling::NbVPoles() const
{
  return myPoles->RowLength();
}

//=======================================================================
//function : Poles
//purpose  : 
//=======================================================================

void  GeomFill_Filling::Poles(TColgp_Array2OfPnt& Poles)const 
{
  Poles = myPoles->ChangeArray2();
}

//=======================================================================
//function : isRational
//purpose  : 
//=======================================================================

Standard_Boolean  GeomFill_Filling::isRational()const 
{
  return IsRational;
}


//=======================================================================
//function : Weights
//purpose  : 
//=======================================================================

void  GeomFill_Filling::Weights(TColStd_Array2OfReal& Weights)const 
{
  Weights = myWeights->ChangeArray2();
}