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

Public Member Functions

auto assign_from_another (_other:&meshlib::SignedDistanceToMeshResult) -> &mut meshlib::SignedDistanceToMeshResult
auto proj () const -> &meshlib::PointOnFace
auto proj_mut () -> &mut meshlib::PointOnFace
void set_proj (value:&meshlib::PointOnFace)
auto mtp () const -> &meshlib::MeshTriPoint
auto mtp_mut () -> &mut meshlib::MeshTriPoint
void set_mtp (value:&meshlib::MeshTriPoint)
auto dist () const -> &f32
auto dist_mut () -> &mut f32
void set_dist (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SignedDistanceToMeshResult >
static auto construct_from (proj:&meshlib::PointOnFace, mtp:&meshlib::MeshTriPoint, dist:f32) -> meshlib::Owned< meshlib::SignedDistanceToMeshResult >
static auto construct_from_another (_other:&meshlib::SignedDistanceToMeshResult) -> meshlib::Owned< meshlib::SignedDistanceToMeshResult >
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::SignedDistanceToMeshResult.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::SignedDistanceToMeshResult::construct_from ( proj:&meshlib::PointOnFace ,
mtp:&meshlib::MeshTriPoint ,
dist:f32  ) -> meshlib::Owned< meshlib::SignedDistanceToMeshResult >
static

Constructs MR::SignedDistanceToMeshResult elementwise.

Calls MR_SignedDistanceToMeshResult_ConstructFrom(). The reference to the parameter proj might be preserved in the constructed object. The reference to the parameter mtp might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::SignedDistanceToMeshResult::SignedDistanceToMeshResult.

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

◆ dist()

auto meshlib::SignedDistanceToMeshResult::dist ( ) const -> &f32

distance from pt to proj (positive - outside, negative - inside the mesh) Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named dist.

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

◆ dist_mut()

auto meshlib::SignedDistanceToMeshResult::dist_mut ( ) -> &mut f32

distance from pt to proj (positive - outside, negative - inside the mesh) Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshResult named dist.

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

◆ mtp()

auto meshlib::SignedDistanceToMeshResult::mtp ( ) const -> &meshlib::MeshTriPoint

its barycentric representation Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named mtp.

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

◆ mtp_mut()

auto meshlib::SignedDistanceToMeshResult::mtp_mut ( ) -> &mut meshlib::MeshTriPoint

its barycentric representation Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshResult named mtp.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SignedDistanceToMeshResult_DefaultConstruct().

◆ proj()

auto meshlib::SignedDistanceToMeshResult::proj ( ) const -> &meshlib::PointOnFace

the closest point on mesh Returns a pointer to a member variable of class MR::SignedDistanceToMeshResult named proj.

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

◆ proj_mut()

auto meshlib::SignedDistanceToMeshResult::proj_mut ( ) -> &mut meshlib::PointOnFace

the closest point on mesh Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshResult named proj.

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

◆ set_dist()

void meshlib::SignedDistanceToMeshResult::set_dist ( value:f32 )

distance from pt to proj (positive - outside, negative - inside the mesh) Modifies a member variable of class MR::SignedDistanceToMeshResult named dist.

Calls MR_SignedDistanceToMeshResult_Set_dist().

◆ set_mtp()

void meshlib::SignedDistanceToMeshResult::set_mtp ( value:&meshlib::MeshTriPoint )

its barycentric representation Modifies a member variable of class MR::SignedDistanceToMeshResult named mtp.

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

◆ set_proj()

void meshlib::SignedDistanceToMeshResult::set_proj ( value:&meshlib::PointOnFace )

the closest point on mesh Modifies a member variable of class MR::SignedDistanceToMeshResult named proj.

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


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