use of com.revolsys.geometry.model.Polygonal in project com.revolsys.open by revolsys.
the class MultiPolygonEditorTest method testSetY.
@Test
public void testSetY() {
final PolygonalEditor editor = POLYGONAL.newGeometryEditor(3);
editor.setY(1, 1, 1, 10);
final Polygonal newGeometry = editor.newGeometry();
Assert.assertNotSame(POLYGONAL, newGeometry);
Assert.assertEquals(10.0, newGeometry.getY(1, 1, 1), 0.0);
}
Aggregations