blob: 7bf6361b0a1c0b8adc1dd4e575d5dd0b6a5dd498 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
//--------------------------------------------------------------------
//
// File Name : IGESDimen_CurveDimension.cxx
// Date :
// Author : CKY / Contract Toubro-Larsen
// Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------
#include <IGESDimen_CurveDimension.ixx>
#include <IGESGeom_Line.hxx>
#include <gp_XYZ.hxx>
#include <gp_GTrsf.hxx>
IGESDimen_CurveDimension::IGESDimen_CurveDimension () { }
void IGESDimen_CurveDimension::Init
(const Handle(IGESDimen_GeneralNote)& aNote,
const Handle(IGESData_IGESEntity)& aCurve,
const Handle(IGESData_IGESEntity)& anotherCurve,
const Handle(IGESDimen_LeaderArrow)& aLeader,
const Handle(IGESDimen_LeaderArrow)& anotherLeader,
const Handle(IGESDimen_WitnessLine)& aLine,
const Handle(IGESDimen_WitnessLine)& anotherLine)
{
theNote = aNote;
theFirstCurve = aCurve;
theSecondCurve = anotherCurve;
theFirstLeader = aLeader;
theSecondLeader = anotherLeader;
theFirstWitnessLine = aLine;
theSecondWitnessLine = anotherLine;
InitTypeAndForm(204,0);
}
Handle(IGESDimen_GeneralNote) IGESDimen_CurveDimension::Note () const
{
return theNote;
}
Handle(IGESData_IGESEntity) IGESDimen_CurveDimension::FirstCurve () const
{
return theFirstCurve;
}
Standard_Boolean IGESDimen_CurveDimension::HasSecondCurve () const
{
return (! theSecondCurve.IsNull());
}
Handle(IGESData_IGESEntity) IGESDimen_CurveDimension::SecondCurve () const
{
return theSecondCurve;
}
Handle(IGESDimen_LeaderArrow) IGESDimen_CurveDimension::FirstLeader () const
{
return theFirstLeader;
}
Handle(IGESDimen_LeaderArrow) IGESDimen_CurveDimension::SecondLeader () const
{
return theSecondLeader;
}
Standard_Boolean IGESDimen_CurveDimension::HasFirstWitnessLine () const
{
return (! theFirstWitnessLine.IsNull());
}
Handle(IGESDimen_WitnessLine) IGESDimen_CurveDimension::FirstWitnessLine
() const
{
return theFirstWitnessLine;
}
Standard_Boolean IGESDimen_CurveDimension::HasSecondWitnessLine () const
{
return (! theSecondWitnessLine.IsNull());
}
Handle(IGESDimen_WitnessLine) IGESDimen_CurveDimension::SecondWitnessLine
() const
{
return theSecondWitnessLine;
}
|