MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::AABBTreePoints_Node Struct Reference
Inheritance diagram for meshlib::AABBTreePoints_Node:

Public Member Functions

auto assign_from_another (_other:&meshlib::AABBTreePoints_Node) -> &mut meshlib::AABBTreePoints_Node
auto leaf () const -> bool
auto get_leaf_point_range () const -> meshlib::Owned< meshlib::std_pair_int_int >
void set_leaf_point_range (first:core::ffi::c_int, last:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::AABBTreePoints_Node >
static auto construct_from (box:meshlib::Box3f, l:meshlib::NodeId, r:meshlib::NodeId) -> meshlib::Owned< meshlib::AABBTreePoints_Node >
static auto construct_from_another (_other:&meshlib::AABBTreePoints_Node) -> meshlib::Owned< meshlib::AABBTreePoints_Node >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Generated from class MR::AABBTreePoints::Node.

Generated from class MR::AABBTreePoints::Node. Heap-allocated instances are held in Owned<AABBTreePoints_Node>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::AABBTreePoints_Node::assign_from_another ( _other:&meshlib::AABBTreePoints_Node ) -> &mut meshlib::AABBTreePoints_Node

Generated from method MR::AABBTreePoints::Node::operator=.

Calls MR_AABBTreePoints_Node_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::AABBTreePoints_Node::construct_from ( box:meshlib::Box3f ,
l:meshlib::NodeId ,
r:meshlib::NodeId  ) -> meshlib::Owned< meshlib::AABBTreePoints_Node >
static

Constructs MR::AABBTreePoints::Node elementwise.

Calls MR_AABBTreePoints_Node_ConstructFrom(). The reference to the parameter box might be preserved in the constructed object. The reference to the parameter l might be preserved in the constructed object. The reference to the parameter r might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::AABBTreePoints_Node::construct_from_another ( _other:&meshlib::AABBTreePoints_Node ) -> meshlib::Owned< meshlib::AABBTreePoints_Node >
static

Generated from constructor MR::AABBTreePoints::Node::Node.

Calls MR_AABBTreePoints_Node_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ get_leaf_point_range()

auto meshlib::AABBTreePoints_Node::get_leaf_point_range ( ) const -> meshlib::Owned< meshlib::std_pair_int_int >

returns [first,last) indices of leaf points Generated from method MR::AABBTreePoints::Node::getLeafPointRange.

Calls MR_AABBTreePoints_Node_getLeafPointRange().

◆ leaf()

auto meshlib::AABBTreePoints_Node::leaf ( ) const -> bool

returns true if node represent real points, false if it has child nodes Generated from method MR::AABBTreePoints::Node::leaf.

Calls MR_AABBTreePoints_Node_leaf().

◆ new()

auto meshlib::AABBTreePoints_Node::new ( ) -> meshlib::Owned< meshlib::AABBTreePoints_Node >
static

Constructs an empty (default-constructed) instance.

Calls MR_AABBTreePoints_Node_DefaultConstruct().

◆ set_leaf_point_range()

void meshlib::AABBTreePoints_Node::set_leaf_point_range ( first:core::ffi::c_int ,
last:core::ffi::c_int  )

sets [first,last) to this node (leaf) Generated from method MR::AABBTreePoints::Node::setLeafPointRange.

Calls MR_AABBTreePoints_Node_setLeafPointRange().


The documentation for this struct was generated from the following file: