this.m = m;
}
@Override
public CPoint convert(CPoint p) {
Matrix sour = new Matrix(1, 3);
sour.set(0, 0, p.getX());
sour.set(0, 1, p.getY());
sour.set(0, 2, 1);
Matrix result = sour.matrixMulti(m);
double x = result.get(0, 0);
double y = result.get(0, 1);
return new Coordinate2D(x, y);
}