Region

rectangle region of space

Constructors

this
this(in Region!(Z, K) e)
this
this(in E ext)

Members

Aliases

self_t
alias self_t = Region!(N, T)
vec_t
alias vec_t = Vector!(N, T)

Functions

contains
bool contains(in Vector!(Z, E) pnt)
contains
bool contains(in Region!(Z, E) reg)
contains
bool contains(Args args)
expand
auto expand(in Vector!(Z, E) pnt)
expand
auto expand(in Region!(Z, E) reg)
opBinaryRight
bool opBinaryRight(in Vector!(Z, E) pnt)
opBinaryRight
bool opBinaryRight(in Region!(Z, E) reg)
overlap
auto overlap(in Region!(Z, E) reg)

logic and

overlapLocal
auto overlapLocal(in Region!(Z, E) reg)

Properties

dims
size_t dims [@property getter]
hasVolume
bool hasVolume [@property getter]

returns false if any of size components is zero

lim
vec_t lim [@property getter]
lim
vec_t lim [@property setter]
volume
T volume [@property getter]

multiplication of size components

Static functions

fromSize
self_t fromSize(in E vals)

Variables

pos
vec_t pos;
size
vec_t size;

Meta