use of com.revolsys.geometry.model.editor.PunctualEditor in project com.revolsys.open by revolsys.
the class Punctual method newGeometryEditor.
@Override
default PunctualEditor newGeometryEditor(final int axisCount) {
final PunctualEditor geometryEditor = newGeometryEditor();
geometryEditor.setAxisCount(axisCount);
return geometryEditor;
}
use of com.revolsys.geometry.model.editor.PunctualEditor in project com.revolsys.open by revolsys.
the class MultiPointEditorTest method testSetM.
@Test
public void testSetM() {
final PunctualEditor editor = PUNCTUAL.newGeometryEditor(4);
editor.setM(0, 10);
final Punctual newMultiPoint = editor.newGeometry();
Assert.assertNotSame(PUNCTUAL, newMultiPoint);
Assert.assertEquals(10.0, newMultiPoint.getM(0), 0.0);
}
Aggregations