Revision 23234 branches/v2_0_0_prep/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/IDwg2FMap.java
IDwg2FMap.java | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Created on 09-ene-2007 |
3 | 3 |
* |
4 |
* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
4 |
* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
5 | 5 |
* |
6 | 6 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
7 | 7 |
* |
... | ... | |
23 | 23 |
* |
24 | 24 |
* Generalitat Valenciana |
25 | 25 |
* Conselleria d'Infraestructures i Transport |
26 |
* Av. Blasco Ib??ez, 50
|
|
26 |
* Av. Blasco Ib��ez, 50
|
|
27 | 27 |
* 46010 VALENCIA |
28 | 28 |
* SPAIN |
29 | 29 |
* |
... | ... | |
63 | 63 |
*/ |
64 | 64 |
package com.iver.cit.jdwglib.dwg; |
65 | 65 |
|
66 |
import com.iver.cit.gvsig.fmap.core.IGeometry;
|
|
66 |
import org.gvsig.fmap.geom.Geometry;
|
|
67 | 67 |
|
68 | 68 |
/** |
69 | 69 |
* All dwg objects that are drawing entities |
70 | 70 |
* and that can be converted to a fmap geometry |
71 | 71 |
* implements this interface. |
72 |
*
|
|
72 |
* |
|
73 | 73 |
* */ |
74 | 74 |
/* |
75 | 75 |
* TODO |
76 | 76 |
* Esta solucion tiene el problema de que es mas simple |
77 | 77 |
* (cada entidad dwg se ocupa de su conversion a fmap),pero acopla |
78 |
* libDwg con fmap
|
|
79 |
* (una clase Dwg2FMap lo desacoplar?a, pero llenar?a el codigo de
|
|
78 |
* libDwg con fmap |
|
79 |
* (una clase Dwg2FMap lo desacoplar�a, pero llenar�a el codigo de
|
|
80 | 80 |
* infinitos if(dwg instanceof ...) else if..... |
81 |
*
|
|
81 |
* |
|
82 | 82 |
* */ |
83 | 83 |
public interface IDwg2FMap { |
84 |
public IGeometry toFMapGeometry(boolean is3DFile);
|
|
84 |
public Geometry toFMapGeometry(boolean is3DFile); |
|
85 | 85 |
public String toFMapString(boolean is3DFile); |
86 | 86 |
public String toString(); |
87 | 87 |
} |
Also available in: Unified diff