Function Bounds2.tryFromPoint

Constructs a degenerate non-empty bounds containing exactly p.

static bool tryFromPoint(
  Point2!T p,
  out Bounds2 result
) pure nothrow @nogc @safe;

Returns false when p contains NaN.

On failure, result is Bounds2.init.