blob: 3b005085a97bc29675e31ddf7f6b2a14af748bd2 (
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
|
// File: NLPlate_HPG1Constraint.cxx
// Created: Fri Apr 17 19:21:01 1998
// Author: Andre LIEUTIER
// <alr@sgi63>
#include <NLPlate_HPG1Constraint.ixx>
NLPlate_HPG1Constraint::NLPlate_HPG1Constraint(const gp_XY& UV,const Plate_D1& D1T)
:myG1Target(D1T)
{
SetUV(UV);
SetActiveOrder(1);
IncrementalLoadingAllowed = Standard_False;
myOrientation = 0;
}
void NLPlate_HPG1Constraint::SetIncrementalLoadAllowed(const Standard_Boolean ILA)
{
IncrementalLoadingAllowed = ILA;
}
void NLPlate_HPG1Constraint::SetOrientation(const Standard_Integer Orient)
{
myOrientation = Orient;
}
Standard_Boolean NLPlate_HPG1Constraint::IncrementalLoadAllowed() const
{
return IncrementalLoadingAllowed;
}
Standard_Integer NLPlate_HPG1Constraint::ActiveOrder() const
{
if (myActiveOrder<1) return myActiveOrder;
else return 1;
}
Standard_Boolean NLPlate_HPG1Constraint::IsG0() const
{
return Standard_False;
}
Standard_Integer NLPlate_HPG1Constraint::Orientation()
{
return myOrientation;
}
const Plate_D1& NLPlate_HPG1Constraint::G1Target() const
{
return myG1Target;
}
|