Vec2D includePoint(Vec2D point, Mat2D? transform) { var transformedPoint = transform == null ? point : transform * point; expandToPoint(transformedPoint); return transformedPoint; }