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

Public Member Functions

auto assign_from_another (_other:&meshlib::MultiRayMeshIntersectResult) -> &mut meshlib::MultiRayMeshIntersectResult
auto intersecting_rays () const -> *const *mut meshlib::ffi::MR_BitSet
auto intersecting_rays_mut () -> *mut *mut meshlib::ffi::MR_BitSet
void set_intersecting_rays (value:Option<&mut meshlib::BitSet >)
auto ray_distances () const -> *const *mut meshlib::ffi::MR_std_vector_float
auto ray_distances_mut () -> *mut *mut meshlib::ffi::MR_std_vector_float
void set_ray_distances (value:Option<&mut meshlib::std_vector_float >)
auto isect_faces () const -> *const *mut meshlib::ffi::MR_std_vector_MR_FaceId
auto isect_faces_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_FaceId
void set_isect_faces (value:Option<&mut meshlib::std_vector_MR_FaceId >)
auto isect_bary () const -> *const *mut meshlib::ffi::MR_std_vector_MR_TriPointf
auto isect_bary_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_TriPointf
void set_isect_bary (value:Option<&mut meshlib::std_vector_MR_TriPointf >)
auto isect_pts () const -> *const *mut meshlib::ffi::MR_std_vector_MR_Vector3f
auto isect_pts_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_Vector3f
void set_isect_pts (value:Option<&mut meshlib::std_vector_MR_Vector3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MultiRayMeshIntersectResult >
static auto construct_from (intersectingRays:Option<&mut meshlib::BitSet >, rayDistances:Option<&mut meshlib::std_vector_float >, isectFaces:Option<&mut meshlib::std_vector_MR_FaceId >, isectBary:Option<&mut meshlib::std_vector_MR_TriPointf >, isectPts:Option<&mut meshlib::std_vector_MR_Vector3f >) -> meshlib::Owned< meshlib::MultiRayMeshIntersectResult >
static auto construct_from_another (_other:&meshlib::MultiRayMeshIntersectResult) -> meshlib::Owned< meshlib::MultiRayMeshIntersectResult >
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::MultiRayMeshIntersectResult.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::MultiRayMeshIntersectResult::operator=.

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

◆ construct_from()

auto meshlib::MultiRayMeshIntersectResult::construct_from ( intersectingRays:Option<&mut meshlib::BitSet > ,
rayDistances:Option<&mut meshlib::std_vector_float > ,
isectFaces:Option<&mut meshlib::std_vector_MR_FaceId > ,
isectBary:Option<&mut meshlib::std_vector_MR_TriPointf > ,
isectPts:Option<&mut meshlib::std_vector_MR_Vector3f >  ) -> meshlib::Owned< meshlib::MultiRayMeshIntersectResult >
static

Constructs MR::MultiRayMeshIntersectResult elementwise.

Calls MR_MultiRayMeshIntersectResult_ConstructFrom(). The reference to the parameter intersectingRays might be preserved in the constructed object. The reference to the parameter rayDistances might be preserved in the constructed object. The reference to the parameter isectFaces might be preserved in the constructed object. The reference to the parameter isectBary might be preserved in the constructed object. The reference to the parameter isectPts might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MultiRayMeshIntersectResult::MultiRayMeshIntersectResult.

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

◆ intersecting_rays()

auto meshlib::MultiRayMeshIntersectResult::intersecting_rays ( ) const -> *const *mut meshlib::ffi::MR_BitSet

< true if the ray has intersection with mesh part, false otherwise Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named intersectingRays.

Calls MR_MultiRayMeshIntersectResult_Get_intersectingRays(). 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.

◆ intersecting_rays_mut()

auto meshlib::MultiRayMeshIntersectResult::intersecting_rays_mut ( ) -> *mut *mut meshlib::ffi::MR_BitSet

< true if the ray has intersection with mesh part, false otherwise Returns a mutable pointer to a member variable of class MR::MultiRayMeshIntersectResult named intersectingRays.

Calls MR_MultiRayMeshIntersectResult_GetMutable_intersectingRays(). 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.

◆ isect_bary()

auto meshlib::MultiRayMeshIntersectResult::isect_bary ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_TriPointf

< barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectBary.

Calls MR_MultiRayMeshIntersectResult_Get_isectBary(). 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.

◆ isect_bary_mut()

auto meshlib::MultiRayMeshIntersectResult::isect_bary_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_TriPointf

< barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection Returns a mutable pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectBary.

Calls MR_MultiRayMeshIntersectResult_GetMutable_isectBary(). 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.

◆ isect_faces()

auto meshlib::MultiRayMeshIntersectResult::isect_faces ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_FaceId

< intersected triangles from mesh Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectFaces.

Calls MR_MultiRayMeshIntersectResult_Get_isectFaces(). 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.

◆ isect_faces_mut()

auto meshlib::MultiRayMeshIntersectResult::isect_faces_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_FaceId

< intersected triangles from mesh Returns a mutable pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectFaces.

Calls MR_MultiRayMeshIntersectResult_GetMutable_isectFaces(). 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.

◆ isect_pts()

auto meshlib::MultiRayMeshIntersectResult::isect_pts ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_Vector3f

< intersection points or NaNs if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectPts.

Calls MR_MultiRayMeshIntersectResult_Get_isectPts(). 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.

◆ isect_pts_mut()

auto meshlib::MultiRayMeshIntersectResult::isect_pts_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_Vector3f

< intersection points or NaNs if no intersection Returns a mutable pointer to a member variable of class MR::MultiRayMeshIntersectResult named isectPts.

Calls MR_MultiRayMeshIntersectResult_GetMutable_isectPts(). 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::MultiRayMeshIntersectResult::new ( ) -> meshlib::Owned< meshlib::MultiRayMeshIntersectResult >
static

Constructs an empty (default-constructed) instance.

Calls MR_MultiRayMeshIntersectResult_DefaultConstruct().

◆ ray_distances()

auto meshlib::MultiRayMeshIntersectResult::ray_distances ( ) const -> *const *mut meshlib::ffi::MR_std_vector_float

< distance along each ray till the intersection point or NaN if no intersection Returns a pointer to a member variable of class MR::MultiRayMeshIntersectResult named rayDistances.

Calls MR_MultiRayMeshIntersectResult_Get_rayDistances(). 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.

◆ ray_distances_mut()

auto meshlib::MultiRayMeshIntersectResult::ray_distances_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_float

< distance along each ray till the intersection point or NaN if no intersection Returns a mutable pointer to a member variable of class MR::MultiRayMeshIntersectResult named rayDistances.

Calls MR_MultiRayMeshIntersectResult_GetMutable_rayDistances(). 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_intersecting_rays()

void meshlib::MultiRayMeshIntersectResult::set_intersecting_rays ( value:Option<&mut meshlib::BitSet > )

< true if the ray has intersection with mesh part, false otherwise Modifies a member variable of class MR::MultiRayMeshIntersectResult named intersectingRays.

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

◆ set_isect_bary()

void meshlib::MultiRayMeshIntersectResult::set_isect_bary ( value:Option<&mut meshlib::std_vector_MR_TriPointf > )

< barycentric coordinates of the intersection point within intersected triangle or NaNs if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectBary.

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

◆ set_isect_faces()

void meshlib::MultiRayMeshIntersectResult::set_isect_faces ( value:Option<&mut meshlib::std_vector_MR_FaceId > )

< intersected triangles from mesh Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectFaces.

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

◆ set_isect_pts()

void meshlib::MultiRayMeshIntersectResult::set_isect_pts ( value:Option<&mut meshlib::std_vector_MR_Vector3f > )

< intersection points or NaNs if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named isectPts.

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

◆ set_ray_distances()

void meshlib::MultiRayMeshIntersectResult::set_ray_distances ( value:Option<&mut meshlib::std_vector_float > )

< distance along each ray till the intersection point or NaN if no intersection Modifies a member variable of class MR::MultiRayMeshIntersectResult named rayDistances.

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


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