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

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshMeshSignedDistanceResult) -> &mut meshlib::MeshMeshSignedDistanceResult
auto a () const -> &meshlib::MeshProjectionResult
auto a_mut () -> &mut meshlib::MeshProjectionResult
void set_a (value:&meshlib::MeshProjectionResult)
auto b () const -> &meshlib::MeshProjectionResult
auto b_mut () -> &mut meshlib::MeshProjectionResult
void set_b (value:&meshlib::MeshProjectionResult)
auto status () const -> &meshlib::MeshMeshCollisionStatus
auto status_mut () -> &mut meshlib::MeshMeshCollisionStatus
void set_status (value:meshlib::MeshMeshCollisionStatus)
auto signed_dist () const -> &f32
auto signed_dist_mut () -> &mut f32
void set_signed_dist (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshMeshSignedDistanceResult >
static auto construct_from (a:&meshlib::MeshProjectionResult, b:&meshlib::MeshProjectionResult, status:meshlib::MeshMeshCollisionStatus, signedDist:f32) -> meshlib::Owned< meshlib::MeshMeshSignedDistanceResult >
static auto construct_from_another (_other:&meshlib::MeshMeshSignedDistanceResult) -> meshlib::Owned< meshlib::MeshMeshSignedDistanceResult >
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::MeshMeshSignedDistanceResult.

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

Member Function Documentation

◆ a()

auto meshlib::MeshMeshSignedDistanceResult::a ( ) const -> &meshlib::MeshProjectionResult

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named a.

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

◆ a_mut()

auto meshlib::MeshMeshSignedDistanceResult::a_mut ( ) -> &mut meshlib::MeshProjectionResult

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a mutable pointer to a member variable of class MR::MeshMeshSignedDistanceResult named a.

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::MeshMeshSignedDistanceResult::b ( ) const -> &meshlib::MeshProjectionResult

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named b.

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

◆ b_mut()

auto meshlib::MeshMeshSignedDistanceResult::b_mut ( ) -> &mut meshlib::MeshProjectionResult

two closest points: from meshes A and B respectively, each one as the projection of the other point Returns a mutable pointer to a member variable of class MR::MeshMeshSignedDistanceResult named b.

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

◆ construct_from()

auto meshlib::MeshMeshSignedDistanceResult::construct_from ( a:&meshlib::MeshProjectionResult ,
b:&meshlib::MeshProjectionResult ,
status:meshlib::MeshMeshCollisionStatus ,
signedDist:f32  ) -> meshlib::Owned< meshlib::MeshMeshSignedDistanceResult >
static

Constructs MR::MeshMeshSignedDistanceResult elementwise.

Calls MR_MeshMeshSignedDistanceResult_ConstructFrom(). The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter status might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshMeshSignedDistanceResult::MeshMeshSignedDistanceResult.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshMeshSignedDistanceResult_DefaultConstruct().

◆ set_a()

void meshlib::MeshMeshSignedDistanceResult::set_a ( value:&meshlib::MeshProjectionResult )

two closest points: from meshes A and B respectively, each one as the projection of the other point Modifies a member variable of class MR::MeshMeshSignedDistanceResult named a.

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

◆ set_b()

void meshlib::MeshMeshSignedDistanceResult::set_b ( value:&meshlib::MeshProjectionResult )

two closest points: from meshes A and B respectively, each one as the projection of the other point Modifies a member variable of class MR::MeshMeshSignedDistanceResult named b.

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

◆ set_signed_dist()

void meshlib::MeshMeshSignedDistanceResult::set_signed_dist ( value:f32 )

signed distance between a and b, positive if meshes do not collide Modifies a member variable of class MR::MeshMeshSignedDistanceResult named signedDist.

Calls MR_MeshMeshSignedDistanceResult_Set_signedDist().

◆ set_status()

void meshlib::MeshMeshSignedDistanceResult::set_status ( value:meshlib::MeshMeshCollisionStatus )

mutual status of two meshes Modifies a member variable of class MR::MeshMeshSignedDistanceResult named status.

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

◆ signed_dist()

auto meshlib::MeshMeshSignedDistanceResult::signed_dist ( ) const -> &f32

signed distance between a and b, positive if meshes do not collide Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named signedDist.

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

◆ signed_dist_mut()

auto meshlib::MeshMeshSignedDistanceResult::signed_dist_mut ( ) -> &mut f32

signed distance between a and b, positive if meshes do not collide Returns a mutable pointer to a member variable of class MR::MeshMeshSignedDistanceResult named signedDist.

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

◆ status()

auto meshlib::MeshMeshSignedDistanceResult::status ( ) const -> &meshlib::MeshMeshCollisionStatus

mutual status of two meshes Returns a pointer to a member variable of class MR::MeshMeshSignedDistanceResult named status.

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

◆ status_mut()

auto meshlib::MeshMeshSignedDistanceResult::status_mut ( ) -> &mut meshlib::MeshMeshCollisionStatus

mutual status of two meshes Returns a mutable pointer to a member variable of class MR::MeshMeshSignedDistanceResult named status.

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


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