/** * Sets the first ordinate of a coordinate in this sequence. * * @param index the coordinate index * @param value the new ordinate value */ public void setX(int index, double value) { coordRef = null; setOrdinate(index, 0, value); }
/** * Sets the second ordinate of a coordinate in this sequence. * * @param index the coordinate index * @param value the new ordinate value */ public void setY(int index, double value) { coordRef = null; setOrdinate(index, 1, value); }
/** * @see org.opengis.geometry.coordinate.DirectPosition#setOrdinate(int, double) */ public void setOrdinate( int arg0, double arg1 ) throws IndexOutOfBoundsException { sequence.setOrdinate(offset, arg0, arg1); }
/** * Sets the second ordinate of a coordinate in this sequence. * * @param index the coordinate index * @param value the new ordinate value */ public void setY(int index, double value) { coordRef = null; setOrdinate(index, 1, value); }
/** * @see org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int) */ public void setOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex) { PackedCoordinateSequence pcs = (PackedCoordinateSequence) sequence; pcs.setOrdinate(coordinateIndex, ordinateIndex, value); }
/** * @see org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int) */ public void setOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex) { PackedCoordinateSequence pcs = (PackedCoordinateSequence) sequence; pcs.setOrdinate(coordinateIndex, ordinateIndex, value); }
/** * @see org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int) */ public void setOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex) { PackedCoordinateSequence pcs = (PackedCoordinateSequence) sequence; pcs.setOrdinate(coordinateIndex, ordinateIndex, value); }
/** * Sets the first ordinate of a coordinate in this sequence. * * @param index the coordinate index * @param value the new ordinate value */ public void setX(int index, double value) { coordRef = null; setOrdinate(index, 0, value); }
/** * @see org.geotools.geometry.coordinatesequence.CSBuilder#setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int) */ public void setOrdinate(CoordinateSequence sequence, double value, int ordinateIndex, int coordinateIndex) { PackedCoordinateSequence pcs = (PackedCoordinateSequence) sequence; pcs.setOrdinate(coordinateIndex, ordinateIndex, value); }
/** * @see org.opengis.geometry.coordinate.DirectPosition#setOrdinate(int, double) */ public void setOrdinate( int arg0, double arg1 ) throws IndexOutOfBoundsException { sequence.setOrdinate(offset, arg0, arg1); }
length, 3); for (int i = 0; i < length; i++) { builder.setOrdinate(i, 0, buffer.getDouble()); builder.setOrdinate(i, 1, buffer.getDouble()); builder.setOrdinate(i, 2, Double.NaN); builder.setOrdinate(1, 0, builder.getOrdinate(0, 0)); builder.setOrdinate(1, 1, builder.getOrdinate(1, 0)); builder.setOrdinate(1, 2, Double.NaN); lines[part].setOrdinate(i, 2, buffer.getDouble());
length, 3); for (int i = 0; i < length; i++) { builder.setOrdinate(i, 0, buffer.getDouble()); builder.setOrdinate(i, 1, buffer.getDouble()); builder.setOrdinate(i, 2, Double.NaN); builder.setOrdinate(1, 0, builder.getOrdinate(0, 0)); builder.setOrdinate(1, 1, builder.getOrdinate(1, 0)); builder.setOrdinate(1, 2, Double.NaN); lines[part].setOrdinate(i, 2, buffer.getDouble());
length, 3); for (int i = 0; i < length; i++) { builder.setOrdinate(i, 0, buffer.getDouble()); builder.setOrdinate(i, 1, buffer.getDouble()); builder.setOrdinate(i, 2, Double.NaN); builder.setOrdinate(1, 0, builder.getOrdinate(0, 0)); builder.setOrdinate(1, 1, builder.getOrdinate(1, 0)); builder.setOrdinate(1, 2, Double.NaN); lines[part].setOrdinate(i, 2, buffer.getDouble());