Revision 34899 branches/v2_0_0_prep/libraries/libFMap_geometries/src-test/org/gvsig/fmap/geom/aggregate/MultiPointTest.java
MultiPointTest.java | ||
---|---|---|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
public void testCreateMultiPoint2D() throws InstantiationException, IllegalAccessException, CreateGeometryException{ |
55 |
Point point1 = (Point)manager.create(TYPES.POINT, SUBTYPES.GEOM2DZ);
|
|
55 |
Point point1 = (Point)manager.create(TYPES.POINT, SUBTYPES.GEOM3D);
|
|
56 | 56 |
point1.setCoordinateAt(0, 1.0); |
57 | 57 |
point1.setCoordinateAt(1, 2.0); |
58 | 58 |
point1.setCoordinateAt(2, 3.0); |
59 | 59 |
|
60 |
Point point2 = (Point)manager.create(TYPES.POINT, SUBTYPES.GEOM2DZ);
|
|
60 |
Point point2 = (Point)manager.create(TYPES.POINT, SUBTYPES.GEOM3D);
|
|
61 | 61 |
point2.setCoordinateAt(0, 4.0); |
62 | 62 |
point2.setCoordinateAt(1, 5.0); |
63 | 63 |
point2.setCoordinateAt(2, 6.0); |
Also available in: Unified diff