Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libDwg / src / com / iver / cit / jdwglib / dwg / objects / DwgMesh.java @ 10103

History | View | Annotate | Download (3.12 KB)

1
/*
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: DwgMesh.java 10103 2007-02-05 07:03:22Z azabala $
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 DwgMesh extends DwgObject {
59

    
60
        private int flags;
61
        private int curveType;
62
        private int mVerticies;
63
        private int nVerticies;
64
        private int mDensity;
65
        private int nDensity;
66
        private DwgHandleReference firstVertexHandle;
67
        private DwgHandleReference lastVertexHandle;
68
        private DwgHandleReference seqendHandle;
69

    
70
        public DwgMesh(int index) {
71
                super(index);
72
                // TODO Auto-generated constructor stub
73
        }
74

    
75
        public void setFlags(int flags) {
76
                this.flags = flags;
77
        }
78

    
79
        public void setCurveType(int curveType) {
80
                this.curveType = curveType;
81
        }
82

    
83
        public void setMVerticies(int verticies) {
84
                this.mVerticies = verticies;
85
        }
86

    
87
        public void setNVerticies(int verticies) {
88
                this.nVerticies = verticies;
89
        }
90

    
91
        public void setMDensity(int density) {
92
                this.mDensity = density;
93
        }
94

    
95
        public void setNDensity(int density) {
96
                this.nDensity = density;
97
        }
98

    
99
        public void setFirstVertexHandle(DwgHandleReference handle) {
100
                this.firstVertexHandle = handle;
101
        }
102

    
103
        public void setLastVertexHandle(DwgHandleReference handle) {
104
                this.lastVertexHandle = handle;
105
        }
106

    
107
        public void setSeqendHandle(DwgHandleReference handle) {
108
                this.seqendHandle = handle;
109
        }
110

    
111
        public int getCurveType() {
112
                return curveType;
113
        }
114

    
115
        public DwgHandleReference getFirstVertexHandle() {
116
                return firstVertexHandle;
117
        }
118

    
119
        public int getFlags() {
120
                return flags;
121
        }
122

    
123
        public DwgHandleReference getLastVertexHandle() {
124
                return lastVertexHandle;
125
        }
126

    
127
        public int getMDensity() {
128
                return mDensity;
129
        }
130

    
131
        public int getMVerticies() {
132
                return mVerticies;
133
        }
134

    
135
        public int getNDensity() {
136
                return nDensity;
137
        }
138

    
139
        public int getNVerticies() {
140
                return nVerticies;
141
        }
142

    
143
        public DwgHandleReference getSeqendHandle() {
144
                return seqendHandle;
145
        }
146

    
147
}
148