setX method

void setX(
  1. int index,
  2. double value
)

Sets the first ordinate of a coordinate in this sequence.

@param index the coordinate index @param value the new ordinate value

Implementation

void setX(int index, double value) {
  coordRef = null;
  setOrdinate(index, 0, value);
}