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

Public Member Functions

auto assign_from_another (_other:&meshlib::Line3Mesh_double) -> &mut meshlib::Line3Mesh_double
auto line () const -> &meshlib::Line3d
auto line_mut () -> &mut meshlib::Line3d
void set_line (value:&meshlib::Line3d)
auto prec () const -> *const *mut meshlib::ffi::MR_IntersectionPrecomputes_double
auto prec_mut () -> *mut *mut meshlib::ffi::MR_IntersectionPrecomputes_double
void set_prec (value:Option<&mut meshlib::IntersectionPrecomputes_double >)
auto mesh () const -> *const *const meshlib::ffi::MR_Mesh
auto mesh_mut () -> *mut *const meshlib::ffi::MR_Mesh
void set_mesh (value:Option<&meshlib::Mesh >)
auto tree () const -> *const *const meshlib::ffi::MR_AABBTree
auto tree_mut () -> *mut *const meshlib::ffi::MR_AABBTree
void set_tree (value:Option<&meshlib::AABBTree >)
auto region () const -> *const *const meshlib::ffi::MR_FaceBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet
void set_region (value:Option<&meshlib::FaceBitSet >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Line3Mesh_double >
static auto construct_from (line:&meshlib::Line3d, prec:Option<&mut meshlib::IntersectionPrecomputes_double >, mesh:Option<&meshlib::Mesh >, tree:Option<&meshlib::AABBTree >, region:Option<&meshlib::FaceBitSet >) -> meshlib::Owned< meshlib::Line3Mesh_double >
static auto construct_from_another (_other:&meshlib::Line3Mesh_double) -> meshlib::Owned< meshlib::Line3Mesh_double >
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::Line3Mesh<double>.

Generated from class MR::Line3Mesh<double>. Heap-allocated instances are held in Owned<Line3Mesh_double>.

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::Line3Mesh<double>::operator=.

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

◆ construct_from()

auto meshlib::Line3Mesh_double::construct_from ( line:&meshlib::Line3d ,
prec:Option<&mut meshlib::IntersectionPrecomputes_double > ,
mesh:Option<&meshlib::Mesh > ,
tree:Option<&meshlib::AABBTree > ,
region:Option<&meshlib::FaceBitSet >  ) -> meshlib::Owned< meshlib::Line3Mesh_double >
static

Constructs MR::Line3Mesh<double> elementwise.

Calls MR_Line3Mesh_double_ConstructFrom(). The reference to the parameter line might be preserved in the constructed object. The reference to the parameter prec might be preserved in the constructed object. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter tree might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Line3Mesh<double>::Line3Mesh.

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

◆ line()

auto meshlib::Line3Mesh_double::line ( ) const -> &meshlib::Line3d

< in the reference frame of mesh Returns a pointer to a member variable of class MR::Line3Mesh<double> named line.

Calls MR_Line3Mesh_double_Get_line(). The reference to this object might be preserved as the return value.

◆ line_mut()

auto meshlib::Line3Mesh_double::line_mut ( ) -> &mut meshlib::Line3d

< in the reference frame of mesh Returns a mutable pointer to a member variable of class MR::Line3Mesh<double> named line.

Calls MR_Line3Mesh_double_GetMutable_line(). The reference to this object might be preserved as the return value.

◆ mesh()

auto meshlib::Line3Mesh_double::mesh ( ) const -> *const *const meshlib::ffi::MR_Mesh

< must be set a valid pointer before use Returns a pointer to a member variable of class MR::Line3Mesh<double> named mesh.

Calls MR_Line3Mesh_double_Get_mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ mesh_mut()

auto meshlib::Line3Mesh_double::mesh_mut ( ) -> *mut *const meshlib::ffi::MR_Mesh

< must be set a valid pointer before use Returns a mutable pointer to a member variable of class MR::Line3Mesh<double> named mesh.

Calls MR_Line3Mesh_double_GetMutable_mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Line3Mesh_double_DefaultConstruct().

◆ prec()

auto meshlib::Line3Mesh_double::prec ( ) const -> *const *mut meshlib::ffi::MR_IntersectionPrecomputes_double

< set it to a valid pointer for better performance Returns a pointer to a member variable of class MR::Line3Mesh<double> named prec.

Calls MR_Line3Mesh_double_Get_prec(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ prec_mut()

auto meshlib::Line3Mesh_double::prec_mut ( ) -> *mut *mut meshlib::ffi::MR_IntersectionPrecomputes_double

< set it to a valid pointer for better performance Returns a mutable pointer to a member variable of class MR::Line3Mesh<double> named prec.

Calls MR_Line3Mesh_double_GetMutable_prec(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ region()

auto meshlib::Line3Mesh_double::region ( ) const -> *const *const meshlib::ffi::MR_FaceBitSet

< may remain nullptr, meaning all mesh Returns a pointer to a member variable of class MR::Line3Mesh<double> named region.

Calls MR_Line3Mesh_double_Get_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ region_mut()

auto meshlib::Line3Mesh_double::region_mut ( ) -> *mut *const meshlib::ffi::MR_FaceBitSet

< may remain nullptr, meaning all mesh Returns a mutable pointer to a member variable of class MR::Line3Mesh<double> named region.

Calls MR_Line3Mesh_double_GetMutable_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ set_line()

void meshlib::Line3Mesh_double::set_line ( value:&meshlib::Line3d )

< in the reference frame of mesh Modifies a member variable of class MR::Line3Mesh<double> named line.

Calls MR_Line3Mesh_double_Set_line(). The reference to the parameter value might be preserved in this object in element line.

◆ set_mesh()

void meshlib::Line3Mesh_double::set_mesh ( value:Option<&meshlib::Mesh > )

< must be set a valid pointer before use Modifies a member variable of class MR::Line3Mesh<double> named mesh.

Calls MR_Line3Mesh_double_Set_mesh(). The reference to the parameter value might be preserved in this object in element mesh.

◆ set_prec()

void meshlib::Line3Mesh_double::set_prec ( value:Option<&mut meshlib::IntersectionPrecomputes_double > )

< set it to a valid pointer for better performance Modifies a member variable of class MR::Line3Mesh<double> named prec.

Calls MR_Line3Mesh_double_Set_prec(). The reference to the parameter value might be preserved in this object in element prec.

◆ set_region()

void meshlib::Line3Mesh_double::set_region ( value:Option<&meshlib::FaceBitSet > )

< may remain nullptr, meaning all mesh Modifies a member variable of class MR::Line3Mesh<double> named region.

Calls MR_Line3Mesh_double_Set_region(). The reference to the parameter value might be preserved in this object in element region.

◆ set_tree()

void meshlib::Line3Mesh_double::set_tree ( value:Option<&meshlib::AABBTree > )

< not used: the rays take mesh->getAABBTree() Modifies a member variable of class MR::Line3Mesh<double> named tree.

Calls MR_Line3Mesh_double_Set_tree(). The reference to the parameter value might be preserved in this object in element tree.

◆ tree()

auto meshlib::Line3Mesh_double::tree ( ) const -> *const *const meshlib::ffi::MR_AABBTree

< not used: the rays take mesh->getAABBTree() Returns a pointer to a member variable of class MR::Line3Mesh<double> named tree.

Calls MR_Line3Mesh_double_Get_tree(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ tree_mut()

auto meshlib::Line3Mesh_double::tree_mut ( ) -> *mut *const meshlib::ffi::MR_AABBTree

< not used: the rays take mesh->getAABBTree() Returns a mutable pointer to a member variable of class MR::Line3Mesh<double> named tree.

Calls MR_Line3Mesh_double_GetMutable_tree(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.


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