hpcflow.sdk.core.utils.linspace_rect#

hpcflow.sdk.core.utils.linspace_rect(start, stop, num, include=None, **kwargs)#

Generate a linear space around a rectangle.

Parameters:
  • start (List[float]) – Two start values; one for each dimension of the rectangle.

  • stop (List[float]) – Two stop values; one for each dimension of the rectangle.

  • num (List[float]) – Two number values; one for each dimension of the rectangle.

  • include (List[str] | None) – If specified, include only the specified edges. Choose from “top”, “right”, “bottom”, “left”.

Returns:

Coordinates of the rectangle perimeter.

Return type:

rect