Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / drivers / dgn / DGNElemGroup.java @ 6458

History | View | Annotate | Download (3.14 KB)

1
/*
2
 * Created on 07-jul-2004
3
 *
4
 * TODO To change the template for this generated file go to
5
 * Window - Preferences - Java - Code Generation - Code and Comments
6
 */
7
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
8
 *
9
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
10
 *
11
 * This program is free software; you can redistribute it and/or
12
 * modify it under the terms of the GNU General Public License
13
 * as published by the Free Software Foundation; either version 2
14
 * of the License, or (at your option) any later version.
15
 *
16
 * This program is distributed in the hope that it will be useful,
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 * GNU General Public License for more details.
20
 *
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program; if not, write to the Free Software
23
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
24
 *
25
 * For more information, contact:
26
 *
27
 *  Generalitat Valenciana
28
 *   Conselleria d'Infraestructures i Transport
29
 *   Av. Blasco Ib??ez, 50
30
 *   46010 VALENCIA
31
 *   SPAIN
32
 *
33
 *      +34 963862235
34
 *   gvsig@gva.es
35
 *      www.gvsig.gva.es
36
 *
37
 *    or
38
 *
39
 *   IVER T.I. S.A
40
 *   Salamanca 50
41
 *   46005 Valencia
42
 *   Spain
43
 *
44
 *   +34 963163400
45
 *   dac@iver.es
46
 */
47
package com.iver.cit.gvsig.fmap.drivers.dgn;
48

    
49
/**
50
 * Clase utilizada para guardar un elemento de tipo Group.
51
 *
52
 * @author FJP
53
 */
54
public class DGNElemGroup extends DGNElemCore {
55
        /*                 typedef struct
56
           {
57
           Elm_hdr ehdr; // element header
58
           Disp_hdr dhdr; // display header
59
           short file_chars; // no. of chars. in file spec
60
           char file_spec[65] //file specification
61
           byte file_num; // file number
62
           Fb_opts fb_opts; // file builder options mask
63
           Fd_opts fd_opts; // file displayer options mask
64
           byte disp_flags[16]; // display flags
65
           short lev_flags[8][4]; // level on/off flags
66
           long ref_org[3]; // origin in ref file uors
67
           double trns_mtrx[9]; // transformation matrix
68
           double cnvrs_fact; // conversion factor
69
           Group Data Elements (Type 5)
70
           long mast_org[3]; // origin in master file uors
71
           short log_chars; // characters in logical name
72
           char log_name[22]; // logical name (padded)
73
           short desc_chars; // characters in description
74
           char description[42]; /* description (padded)
75
           short lev_sym_mask; // level symbology enable mask
76
           short lev_sym[63]; // level symbology descriptor
77
           long z_delta; // Z-direction delta
78
           short clip_vertices; // clipping vertices
79
           Point2d clip_poly[1]; // clipping polygon
80
           } Ref_file_type5; */
81

    
82
        //DGNElemCore         core=new DGNElemCore();
83
        public DGNPoint origin = new DGNPoint(); /*!< Origin of ellipse */
84
        public double primary_axis;
85

    
86
        //=new double[4];        /*!< Primary axis length */
87
        public double secondary_axis;
88

    
89
        //=new double[4]; /*!< Secondary axis length */
90
        public double rotation; /*!< Counterclockwise rotation in degrees */
91
        public double[] quat = new double[4]; //4
92
        public double startang;
93

    
94
        /*!< Start angle (degrees counterclockwise of primary axis) */
95
        public double sweepang; /*!< Sweep angle (degrees) */
96
}