public Point2D Transform(Matrix2x2 matrix) { return(new Point2D(matrix.V00 * X + matrix.V01 * Y, matrix.V10 * X + matrix.V11 * Y)); }
public Polygon2D Transform(Matrix2x2 matrix, Vector2D translation = new Vector2D()) { return(new Polygon2D(this.Select(p => p.Transform(matrix) + translation).ToList())); }