Revision 29097 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/impl/OrientableSurface2D.java
OrientableSurface2D.java | ||
---|---|---|
59 | 59 |
* @author Jorge Piera Llodr? (jorge.piera@iver.es) |
60 | 60 |
*/ |
61 | 61 |
public abstract class OrientableSurface2D extends OrientablePrimitive2D implements OrientableSurface { |
62 |
private static final long serialVersionUID = 9212660743520612859L; |
|
62 | 63 |
|
63 |
private static final long serialVersionUID = 1L; |
|
64 |
|
|
65 | 64 |
/** |
66 |
* Constructor without arguments. It is necessary to create |
|
67 |
* geometries using the {@link GeometryType}{@link #create()} |
|
68 |
* method |
|
65 |
* The constructor with the GeometryType like and argument |
|
66 |
* is used by the {@link GeometryType}{@link #create()} |
|
67 |
* to create the geometry |
|
68 |
* @param type |
|
69 |
* The geometry type |
|
69 | 70 |
*/ |
70 |
public OrientableSurface2D() { |
|
71 |
super(); |
|
71 |
public OrientableSurface2D(GeometryType geometryType) {
|
|
72 |
super(geometryType);
|
|
72 | 73 |
} |
73 | 74 |
|
74 |
public OrientableSurface2D(String id, IProjection projection, GeneralPathX gpx) { |
|
75 |
super(id, projection, gpx); |
|
75 |
public OrientableSurface2D(GeometryType geometryType, String id, IProjection projection, GeneralPathX gpx) {
|
|
76 |
super(geometryType, id, projection, gpx);
|
|
76 | 77 |
} |
77 | 78 |
|
78 | 79 |
} |
Also available in: Unified diff