PathPoint transformed(Mat2D transform) { PathPoint result = makeInstance(); Vec2D.transformMat2D(result.translation, result.translation, transform); return result; }