Revision 29097 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/impl/DefaultCurve.java

View differences:

DefaultCurve.java
39 39
public abstract class DefaultCurve extends OrientableCurve2D implements Curve {
40 40

  
41 41
	/**
42
	 * Constructor without arguments. It is necessary to create
43
	 * geometries using the {@link GeometryType}{@link #create()}
44
	 * method
42
	 * The constructor with the GeometryType like and argument 
43
	 * is used by the {@link GeometryType}{@link #create()}
44
	 * to create the geometry
45
	 * @param type
46
	 * The geometry type
45 47
	 */
46
	public DefaultCurve() {
47
		super();		
48
	public DefaultCurve(GeometryType geometryType) {
49
		super(geometryType);		
48 50
	}
49 51

  
50 52
	/**
......
52 54
	 * @param projection
53 55
	 * @param gpx
54 56
	 */
55
	public DefaultCurve(String id, IProjection projection, GeneralPathX gpx) {
56
		super(id, projection, gpx);		
57
	public DefaultCurve(GeometryType geometryType, String id, IProjection projection, GeneralPathX gpx) {
58
		super(geometryType, id, projection, gpx);		
57 59
	}
58 60

  
59 61
	/* (non-Javadoc)

Also available in: Unified diff