This reference describes unreleased code on main; no release documents it yet.

rlmesh::spaces::Bound

classExperimental#include <rlmesh.hpp>[source]

One Box bound, exact in its domain: built implicitly from any arithmetic value (bool is Bool, signed integers Int, unsigned Uint, floats Float).

class Bound

Bound

constructor[source]
template <class T, class = std::enable_if_t<std::is_arithmetic_v<T>>> Bound(
    T value
)

One Box bound, exact in its domain: built implicitly from any arithmetic value (bool is Bool, signed integers Int, unsigned Uint, floats Float).

from_raw

static method[source]
static Bound from_raw(RLMeshBound raw)

One Box bound, exact in its domain: built implicitly from any arithmetic value (bool is Bool, signed integers Int, unsigned Uint, floats Float).

type

method[source]
BoundType type() const

as_bool

method[source]
bool as_bool() const

Each throws rlmesh::TypeError on another type.

as_int

method[source]
int64_t as_int() const

Each throws rlmesh::TypeError on another type.

as_uint

method[source]
uint64_t as_uint() const

Each throws rlmesh::TypeError on another type.

as_float

method[source]
double as_float() const

Each throws rlmesh::TypeError on another type.

raw

method[source]
const RLMeshBound& raw() const

Each throws rlmesh::TypeError on another type.