Public Member Functions | |
| auto | index (e:core::ffi::c_int) const -> &i64 |
| auto | index_mut (e:core::ffi::c_int) -> &mut i64 |
| auto | valid () const -> bool |
| auto | center () const -> i64 |
| auto | corner (c:&bool) const -> i64 |
| auto | size () const -> i64 |
| auto | diagonal () const -> i64 |
| auto | volume () const -> i64 |
| void | include_int64_t (pt:&i64) |
| void | include_mr_box1i64 (b:&meshlib::Box1i64) |
| auto | contains_int64_t (pt:&i64) const -> bool |
| auto | contains_mr_box1i64 (otherbox:&meshlib::Box1i64) const -> bool |
| auto | get_box_closest_point_to (pt:&i64) const -> i64 |
| auto | intersects (b:&meshlib::Box1i64) const -> bool |
| auto | intersection (b:&meshlib::Box1i64) const -> meshlib::Box1i64 |
| auto | intersect (b:&meshlib::Box1i64) -> &mut meshlib::Box1i64 |
| auto | get_distance_sq_mr_box1i64 (b:&meshlib::Box1i64) const -> i64 |
| auto | get_distance_sq_int64_t (pt:&i64) const -> i64 |
| auto | get_projection (pt:&i64) const -> i64 |
| auto | expanded (expansion:&i64) const -> meshlib::Box1i64 |
| auto | insignificantly_expanded () const -> meshlib::Box1i64 |
| auto | op_equal (a:&meshlib::Box1i64) const -> bool |
| auto | op_not_equal (a:&meshlib::Box1i64) const -> bool |
Static Public Member Functions | |
| static auto | new () -> meshlib::Box1i64 |
| static auto | construct_2 (min:&i64, max:&i64) -> meshlib::Box1i64 |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Box1i64 |
| static auto | from_min_and_size (min:&i64, size:&i64) -> meshlib::Box1i64 |
| static auto | get_min_box_corner (n:&i64) -> bool |
| static auto | get_max_box_corner (n:&i64) -> bool |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| i64 | min |
| i64 | max |
Box given by its min- and max- corners Generated from class MR::Box1i64.
Generated from struct MR::Box1i64. The fields are accessed directly.
| auto meshlib::Box1i64::center | ( | ) | const -> i64 |
computes center of the box Generated from method MR::Box1i64::center.
Calls MR_Box1i64_center().
|
static |
Generated from constructor MR::Box1i64::Box1i64.
Calls MR_Box1i64_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Box1i64::Box1i64.
Calls MR_Box1i64_Construct_2(). The reference to the parameter min might be preserved in the constructed object. The reference to the parameter max might be preserved in the constructed object.
| auto meshlib::Box1i64::contains_int64_t | ( | pt:& | i64 | ) | const -> bool |
checks whether given point is inside (including the surface) of this box Generated from method MR::Box1i64::contains.
Calls MR_Box1i64_contains_int64_t().
| auto meshlib::Box1i64::contains_mr_box1i64 | ( | otherbox:&meshlib::Box1i64 | ) | const -> bool |
checks whether given box is fully inside (the surfaces may touch) of this box Generated from method MR::Box1i64::contains.
Calls MR_Box1i64_contains_MR_Box1i64().
| auto meshlib::Box1i64::corner | ( | c:& bool | ) | const -> i64 |
returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR::Box1i64::corner.
Calls MR_Box1i64_corner().
| auto meshlib::Box1i64::diagonal | ( | ) | const -> i64 |
computes length from min to max Generated from method MR::Box1i64::diagonal.
Calls MR_Box1i64_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Box1i64 named elements.
Calls MR_Box1i64_Get_elements().
| auto meshlib::Box1i64::expanded | ( | expansion:& | i64 | ) | const -> meshlib::Box1i64 |
decreases min and increased max on given value Generated from method MR::Box1i64::expanded.
Calls MR_Box1i64_expanded().
|
static |
Generated from method MR::Box1i64::fromMinAndSize.
Calls MR_Box1i64_fromMinAndSize().
| auto meshlib::Box1i64::get_box_closest_point_to | ( | pt:& | i64 | ) | const -> i64 |
returns closest point in the box to given point Generated from method MR::Box1i64::getBoxClosestPointTo.
Calls MR_Box1i64_getBoxClosestPointTo().
| auto meshlib::Box1i64::get_distance_sq_int64_t | ( | pt:& | i64 | ) | const -> i64 |
returns squared distance between this box and given point; returns zero if the point is inside or on the boundary of the box Generated from method MR::Box1i64::getDistanceSq.
Calls MR_Box1i64_getDistanceSq_int64_t().
| auto meshlib::Box1i64::get_distance_sq_mr_box1i64 | ( | b:&meshlib::Box1i64 | ) | const -> i64 |
returns squared distance between this box and given one; returns zero if the boxes touch or intersect Generated from method MR::Box1i64::getDistanceSq.
Calls MR_Box1i64_getDistanceSq_MR_Box1i64().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR::Box1i64::getMaxBoxCorner.
Calls MR_Box1i64_getMaxBoxCorner().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR::Box1i64::getMinBoxCorner.
Calls MR_Box1i64_getMinBoxCorner().
| auto meshlib::Box1i64::get_projection | ( | pt:& | i64 | ) | const -> i64 |
returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR::Box1i64::getProjection.
Calls MR_Box1i64_getProjection().
| void meshlib::Box1i64::include_int64_t | ( | pt:& | i64 | ) |
minimally increases the box to include given point Generated from method MR::Box1i64::include.
Calls MR_Box1i64_include_int64_t().
| void meshlib::Box1i64::include_mr_box1i64 | ( | b:&meshlib::Box1i64 | ) |
minimally increases the box to include another box Generated from method MR::Box1i64::include.
Calls MR_Box1i64_include_MR_Box1i64().
| auto meshlib::Box1i64::index | ( | e:core::ffi::c_int | ) | const -> &i64 |
min/max access by 0/1 index Generated from method MR::Box1i64::operator[].
Calls MR_Box1i64_index().
| auto meshlib::Box1i64::index_mut | ( | e:core::ffi::c_int | ) | -> &mut i64 |
Generated from method MR::Box1i64::operator[].
Calls MR_Box1i64_index_mut().
| auto meshlib::Box1i64::insignificantly_expanded | ( | ) | const -> meshlib::Box1i64 |
decreases min and increases max to their closest representable value Generated from method MR::Box1i64::insignificantlyExpanded.
Calls MR_Box1i64_insignificantlyExpanded().
| auto meshlib::Box1i64::intersect | ( | b:&meshlib::Box1i64 | ) | -> &mut meshlib::Box1i64 |
Generated from method MR::Box1i64::intersect.
Calls MR_Box1i64_intersect().
| auto meshlib::Box1i64::intersection | ( | b:&meshlib::Box1i64 | ) | const -> meshlib::Box1i64 |
computes intersection between this and other box Generated from method MR::Box1i64::intersection.
Calls MR_Box1i64_intersection().
| auto meshlib::Box1i64::intersects | ( | b:&meshlib::Box1i64 | ) | const -> bool |
checks whether this box intersects or touches given box Generated from method MR::Box1i64::intersects.
Calls MR_Box1i64_intersects().
|
static |
create invalid box by default
Calls MR_Box1i64_DefaultConstruct().
| auto meshlib::Box1i64::op_equal | ( | a:&meshlib::Box1i64 | ) | const -> bool |
Generated from method MR::Box1i64::operator==.
Calls MR_equal_MR_Box1i64().
| auto meshlib::Box1i64::op_not_equal | ( | a:&meshlib::Box1i64 | ) | const -> bool |
Generated from method MR::Box1i64::operator!=.
Calls MR_not_equal_MR_Box1i64().
| auto meshlib::Box1i64::size | ( | ) | const -> i64 |
computes size of the box in all dimensions Generated from method MR::Box1i64::size.
Calls MR_Box1i64_size().
| auto meshlib::Box1i64::valid | ( | ) | const -> bool |
true if the box contains at least one point Generated from method MR::Box1i64::valid.
Calls MR_Box1i64_valid().
| auto meshlib::Box1i64::volume | ( | ) | const -> i64 |
computes the volume of this box Generated from method MR::Box1i64::volume.
Calls MR_Box1i64_volume().
| i64 meshlib::Box1i64::max |
| i64 meshlib::Box1i64::min |