0023024: Update headers of OCCT files
[occt.git] / src / IGESDimen / IGESDimen_AngularDimension.cdl
CommitLineData
b311480e 1-- Created on: 1993-01-13
2-- Created by: CKY / Contract Toubro-Larsen ( Deepak PRABHU )
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
7fd59977 5--
b311480e 6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
7fd59977 10--
b311480e 11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
7fd59977 13--
b311480e 14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22class AngularDimension from IGESDimen inherits IGESEntity
23
24 ---Purpose: defines AngularDimension, Type <202> Form <0>
25 -- in package IGESDimen
26 -- Used to dimension angles
27
28uses
29
30 GeneralNote from IGESDimen,
31 WitnessLine from IGESDimen,
32 LeaderArrow from IGESDimen,
33 Pnt from gp,
34 Pnt2d from gp,
35 XYZ from gp,
36 XY from gp
37
38is
39
40 Create returns mutable AngularDimension;
41
42 -- Specific Methods pertaining to the class
43
44 Init (me : mutable;
45 aNote : GeneralNote;
46 aLine : WitnessLine;
47 anotherLine : WitnessLine;
48 aVertex : XY;
49 aRadius : Real;
50 aLeader : LeaderArrow;
51 anotherLeader : LeaderArrow);
52 ---Purpose : This method is used to set the fields of the class
53 -- AngularDimension
54 -- - aNote : General Note Entity
55 -- - aLine : First Witness Line Entity or Null
56 -- Handle
57 -- - anotherLine : Second Witness Line Entity or Null
58 -- Handle
59 -- - aVertex : Coordinates of vertex point
60 -- - aRadius : Radius of leader arcs
61 -- - aLeader : First Leader Entity
62 -- - anotherLeader : Second Leader Entity
63
64 Note (me) returns GeneralNote;
65 ---Purpose : returns the General Note Entity of the Dimension.
66
67 HasFirstWitnessLine (me) returns Boolean;
68 ---Purpose : returns False if theFirstWitnessLine is Null Handle.
69
70 FirstWitnessLine (me) returns WitnessLine;
71 ---Purpose : returns the First Witness Line Entity or Null Handle.
72
73 HasSecondWitnessLine (me) returns Boolean;
74 ---Purpose : returns False if theSecondWitnessLine is Null Handle.
75
76 SecondWitnessLine (me) returns WitnessLine;
77 ---Purpose : returns the Second Witness Line Entity or Null Handle.
78
79 Vertex (me) returns Pnt2d;
80 ---Purpose : returns the co-ordinates of the Vertex point as Pnt2d from gp.
81
82 TransformedVertex (me) returns Pnt2d;
83 ---Purpose : returns the co-ordinates of the Vertex point as Pnt2d from gp
84 -- after Transformation. (Z = 0.0 for Transformation)
85
86 Radius (me) returns Real;
87 ---Purpose : returns the Radius of the Leader arcs.
88
89 FirstLeader (me) returns LeaderArrow;
90 ---Purpose : returns the First Leader Entity.
91
92 SecondLeader (me) returns LeaderArrow;
93 ---Purpose : returns the Second Leader Entity.
94
95fields
96
97--
98-- Class : IGESDimen_AngularDimension
99--
100-- Purpose : Declaration of variables specific to the definition
101-- of the Class AngularDimension.
102--
103-- Reminder : A AngularDimension instance is defined by :
104-- - General Note Entity
105-- - optional First Witness Line Entity
106-- - optional Second Witness Line Entity
107-- - Coordinates of vertex point
108-- - Radius of leader arcs
109-- - First Leader Entity
110-- - Second Leader Entity
111-- Consists of two leaders each consisting of at least one circular arc
112-- segment with an arrowhead at one end
113
114 theNote : GeneralNote;
115 theFirstWitnessLine : WitnessLine;
116 theSecondWitnessLine : WitnessLine;
117 theVertex : XY;
118 theRadius : Real;
119 theFirstLeader : LeaderArrow;
120 theSecondLeader : LeaderArrow;
121
122end AngularDimension;