svn-gvsig-desktop / trunk / libraries / libDwg / src / com / iver / cit / jdwglib / dwg / objects / DwgDimOrd.java @ 10103
History | View | Annotate | Download (4.31 KB)
1 | 10103 | azabala | /*
|
---|---|---|---|
2 | * Created on 03-feb-2007
|
||
3 | *
|
||
4 | * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
||
5 | *
|
||
6 | * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
||
7 | *
|
||
8 | * This program is free software; you can redistribute it and/or
|
||
9 | * modify it under the terms of the GNU General Public License
|
||
10 | * as published by the Free Software Foundation; either version 2
|
||
11 | * of the License, or (at your option) any later version.
|
||
12 | *
|
||
13 | * This program is distributed in the hope that it will be useful,
|
||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
16 | * GNU General Public License for more details.
|
||
17 | *
|
||
18 | * You should have received a copy of the GNU General Public License
|
||
19 | * along with this program; if not, write to the Free Software
|
||
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
||
21 | *
|
||
22 | * For more information, contact:
|
||
23 | *
|
||
24 | * Generalitat Valenciana
|
||
25 | * Conselleria d'Infraestructures i Transport
|
||
26 | * Av. Blasco Ib??ez, 50
|
||
27 | * 46010 VALENCIA
|
||
28 | * SPAIN
|
||
29 | *
|
||
30 | * +34 963862235
|
||
31 | * gvsig@gva.es
|
||
32 | * www.gvsig.gva.es
|
||
33 | *
|
||
34 | * or
|
||
35 | *
|
||
36 | * IVER T.I. S.A
|
||
37 | * Salamanca 50
|
||
38 | * 46005 Valencia
|
||
39 | * Spain
|
||
40 | *
|
||
41 | * +34 963163400
|
||
42 | * dac@iver.es
|
||
43 | */
|
||
44 | /* CVS MESSAGES:
|
||
45 | *
|
||
46 | * $Id$
|
||
47 | * $Log$
|
||
48 | * Revision 1.1 2007-02-05 07:03:22 azabala
|
||
49 | * *** empty log message ***
|
||
50 | *
|
||
51 | *
|
||
52 | */
|
||
53 | package com.iver.cit.jdwglib.dwg.objects; |
||
54 | |||
55 | import com.iver.cit.jdwglib.dwg.DwgHandleReference; |
||
56 | import com.iver.cit.jdwglib.dwg.DwgObject; |
||
57 | |||
58 | public class DwgDimOrd extends DwgObject { |
||
59 | |||
60 | private double[] extrusion; |
||
61 | private double[] textMidPoint; |
||
62 | private double elevation; |
||
63 | private int flags; |
||
64 | private String text; |
||
65 | private double rotation; |
||
66 | private double horizDir; |
||
67 | private double[] insScale; |
||
68 | private double insRotation; |
||
69 | private double[] pt12; |
||
70 | private double[] pt10; |
||
71 | private double[] pt13; |
||
72 | private double[] pt14; |
||
73 | private int flags2; |
||
74 | private DwgHandleReference dimStyleHandle;
|
||
75 | private DwgHandleReference anonBlockHandle;
|
||
76 | |||
77 | public DwgDimOrd(int index) { |
||
78 | super(index);
|
||
79 | } |
||
80 | |||
81 | public void setExtrusion(double[] ds) { |
||
82 | this.extrusion = ds;
|
||
83 | } |
||
84 | |||
85 | |||
86 | public void setTextMidPoint(double[] ds) { |
||
87 | this.textMidPoint = ds;
|
||
88 | } |
||
89 | |||
90 | public void setElevation(double elevation) { |
||
91 | this.elevation = elevation;
|
||
92 | } |
||
93 | |||
94 | public void setFlags(int flags) { |
||
95 | this.flags = flags;
|
||
96 | } |
||
97 | |||
98 | public void setText(String txt) { |
||
99 | this.text = txt;
|
||
100 | } |
||
101 | |||
102 | public void setTextRotation(double textRotation) { |
||
103 | this.rotation = textRotation;
|
||
104 | } |
||
105 | |||
106 | public void setHorizDir(double horizDir) { |
||
107 | this.horizDir = horizDir;
|
||
108 | } |
||
109 | |||
110 | public void setInsScale(double[] ds) { |
||
111 | this.insScale = ds;
|
||
112 | } |
||
113 | |||
114 | public void setInsRotation(double insRotation) { |
||
115 | this.insRotation = insRotation;
|
||
116 | } |
||
117 | |||
118 | public void set12Pt(double[] ds) { |
||
119 | this.pt12 = ds;
|
||
120 | } |
||
121 | |||
122 | public void set10Pt(double[] ds) { |
||
123 | this.pt10 = ds;
|
||
124 | } |
||
125 | |||
126 | public void set13Pt(double[] ds) { |
||
127 | this.pt13 = ds;
|
||
128 | } |
||
129 | |||
130 | public void set14Pt(double[] ds) { |
||
131 | this.pt14 = ds;
|
||
132 | } |
||
133 | |||
134 | public void setFlags2(int flags2) { |
||
135 | this.flags2 = flags2;
|
||
136 | } |
||
137 | |||
138 | public void setDimStyleHandle(DwgHandleReference handle) { |
||
139 | this.dimStyleHandle = handle;
|
||
140 | } |
||
141 | |||
142 | public void setAnonBlockHandle(DwgHandleReference handle) { |
||
143 | this.anonBlockHandle = handle;
|
||
144 | } |
||
145 | |||
146 | public double[] getPt10() { |
||
147 | return pt10;
|
||
148 | } |
||
149 | |||
150 | public void setPt10(double[] pt10) { |
||
151 | this.pt10 = pt10;
|
||
152 | } |
||
153 | |||
154 | public double[] getPt12() { |
||
155 | return pt12;
|
||
156 | } |
||
157 | |||
158 | public void setPt12(double[] pt12) { |
||
159 | this.pt12 = pt12;
|
||
160 | } |
||
161 | |||
162 | public double[] getPt13() { |
||
163 | return pt13;
|
||
164 | } |
||
165 | |||
166 | public void setPt13(double[] pt13) { |
||
167 | this.pt13 = pt13;
|
||
168 | } |
||
169 | |||
170 | public double[] getPt14() { |
||
171 | return pt14;
|
||
172 | } |
||
173 | |||
174 | public void setPt14(double[] pt14) { |
||
175 | this.pt14 = pt14;
|
||
176 | } |
||
177 | |||
178 | public double getRotation() { |
||
179 | return rotation;
|
||
180 | } |
||
181 | |||
182 | public void setRotation(double rotation) { |
||
183 | this.rotation = rotation;
|
||
184 | } |
||
185 | |||
186 | public DwgHandleReference getAnonBlockHandle() {
|
||
187 | return anonBlockHandle;
|
||
188 | } |
||
189 | |||
190 | public DwgHandleReference getDimStyleHandle() {
|
||
191 | return dimStyleHandle;
|
||
192 | } |
||
193 | |||
194 | public double getElevation() { |
||
195 | return elevation;
|
||
196 | } |
||
197 | |||
198 | public double[] getExtrusion() { |
||
199 | return extrusion;
|
||
200 | } |
||
201 | |||
202 | public int getFlags() { |
||
203 | return flags;
|
||
204 | } |
||
205 | |||
206 | public int getFlags2() { |
||
207 | return flags2;
|
||
208 | } |
||
209 | |||
210 | public double getHorizDir() { |
||
211 | return horizDir;
|
||
212 | } |
||
213 | |||
214 | public double getInsRotation() { |
||
215 | return insRotation;
|
||
216 | } |
||
217 | |||
218 | public double[] getInsScale() { |
||
219 | return insScale;
|
||
220 | } |
||
221 | |||
222 | public String getText() { |
||
223 | return text;
|
||
224 | } |
||
225 | |||
226 | public double[] getTextMidPoint() { |
||
227 | return textMidPoint;
|
||
228 | } |
||
229 | |||
230 | } |