transformCS method
Applies this transformation to the i'th coordinate in the given CoordinateSequence.
@param seq a CoordinateSequence
@param i the index of the coordinate to transform
Implementation
void transformCS(CoordinateSequence seq, int i) {
double xp = m00 * seq.getOrdinate(i, 0) + m01 * seq.getOrdinate(i, 1) + m02;
double yp = m10 * seq.getOrdinate(i, 0) + m11 * seq.getOrdinate(i, 1) + m12;
seq.setOrdinate(i, 0, xp);
seq.setOrdinate(i, 1, yp);
}