includePoint method

Vec2D includePoint(
  1. Vec2D point,
  2. Mat2D? transform
)

Implementation

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