Revision 32298
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FGeometryM.java | ||
---|---|---|
53 | 53 |
* |
54 | 54 |
*/ |
55 | 55 |
/** |
56 |
* A Geometry with the M coordinate. It contains an FshapeM
|
|
56 |
* A Geometry with the M coordinate. It contains an FshapeM |
|
57 | 57 |
* that is the object that contains the geometric position. |
58 | 58 |
* @author Jorge Piera LLodr? (jorge.piera@iver.es) |
59 | 59 |
*/ |
... | ... | |
61 | 61 |
private static final long serialVersionUID = -7259723180192528478L; |
62 | 62 |
|
63 | 63 |
FGeometryM(FShapeM shp) { |
64 |
super(shp);
|
|
64 |
super(shp); |
|
65 | 65 |
} |
66 | 66 |
|
67 | 67 |
/* |
... | ... | |
77 | 77 |
* @see com.iver.cit.gvsig.fmap.core.IGeometryM#setMAt(int, double) |
78 | 78 |
*/ |
79 | 79 |
public void setMAt(int i, double value) { |
80 |
((FShapeM)getInternalShape()).setMAt(i, value);
|
|
80 |
((FShapeM)getInternalShape()).setMAt(i, value); |
|
81 | 81 |
} |
82 | 82 |
|
83 | 83 |
public boolean isDecreasing() { |
... | ... | |
89 | 89 |
* @see com.iver.cit.gvsig.fmap.core.IGeometryM#revertMs() |
90 | 90 |
*/ |
91 | 91 |
public void revertMs() { |
92 |
((FShapeM)getInternalShape()).revertMs();
|
|
92 |
((FShapeM)getInternalShape()).revertMs(); |
|
93 | 93 |
} |
94 | 94 |
|
95 | 95 |
/* (non-Javadoc) |
96 | 96 |
* @see com.iver.cit.gvsig.fmap.core.FGeometry#toJTSGeometry() |
97 |
*/
|
|
97 |
*/ |
|
98 | 98 |
public Geometry toJTSGeometry() { |
99 | 99 |
// TODO Auto-generated method stub |
100 | 100 |
return super.toJTSGeometry(); |
... | ... | |
103 | 103 |
public String toText() { |
104 | 104 |
return ((FShapeM)getInternalShape()).toText(); |
105 | 105 |
} |
106 |
public IGeometry cloneGeometry() { |
|
107 |
return new FGeometryM((FShapeM)super.cloneGeometry().getInternalShape()); |
|
108 |
} |
|
106 | 109 |
|
107 | 110 |
} |
Also available in: Unified diff