blob: 95438200d3359a86975fdce5fa6711e2678101ae (
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
|
// File AppParCurves_ConstraintCouple.cxx
#include <AppParCurves_ConstraintCouple.ixx>
AppParCurves_ConstraintCouple::
AppParCurves_ConstraintCouple() {}
AppParCurves_ConstraintCouple::
AppParCurves_ConstraintCouple(const Standard_Integer TheIndex,
const AppParCurves_Constraint Cons)
{
myIndex = TheIndex;
myConstraint = Cons;
}
Standard_Integer AppParCurves_ConstraintCouple::Index() const
{
return myIndex;
}
AppParCurves_Constraint AppParCurves_ConstraintCouple::Constraint() const
{
return myConstraint;
}
void AppParCurves_ConstraintCouple::SetIndex(const Standard_Integer TheIndex)
{
myIndex = TheIndex;
}
void AppParCurves_ConstraintCouple::
SetConstraint(const AppParCurves_Constraint Cons)
{
myConstraint = Cons;
}
|