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 (Sequence[float]) – Two start values; one for each dimension of the rectangle.
stop (Sequence[float]) – Two stop values; one for each dimension of the rectangle.
num (Sequence[int]) – Two number values; one for each dimension of the rectangle.
include (Sequence[str] | None) – If specified, include only the specified edges. Choose from “top”, “right”, “bottom”, “left”.
- Returns:
Coordinates of the rectangle perimeter.
- Return type:
rect