rlmesh::spaces::Bound
One Box bound, exact in its domain: built implicitly from any arithmetic value (bool is Bool, signed integers Int, unsigned Uint, floats Float).
class BoundConstructors
Static methods
Methods
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() constas_bool
method[source]bool as_bool() constEach throws rlmesh::TypeError on another type.
as_int
method[source]int64_t as_int() constEach throws rlmesh::TypeError on another type.
as_uint
method[source]uint64_t as_uint() constEach throws rlmesh::TypeError on another type.
as_float
method[source]double as_float() constEach throws rlmesh::TypeError on another type.
raw
method[source]const RLMeshBound& raw() constEach throws rlmesh::TypeError on another type.