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

Public Member Functions

auto assign_from_another (_other:&meshlib::FeatureObjectProjectPointResult) -> &mut meshlib::FeatureObjectProjectPointResult
auto point () const -> &meshlib::Vector3f
auto point_mut () -> &mut meshlib::Vector3f
void set_point (value:meshlib::Vector3f)
auto normal () const -> &meshlib::std_optional_MR_Vector3f
auto normal_mut () -> &mut meshlib::std_optional_MR_Vector3f
void set_normal (value:Option<&meshlib::Vector3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult >
static auto construct_from (point:meshlib::Vector3f, normal:Option<&meshlib::Vector3f >) -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult >
static auto construct_from_another (_other:&meshlib::FeatureObjectProjectPointResult) -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult >
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::FeatureObjectProjectPointResult.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::FeatureObjectProjectPointResult::construct_from ( point:meshlib::Vector3f ,
normal:Option<&meshlib::Vector3f >  ) -> meshlib::Owned< meshlib::FeatureObjectProjectPointResult >
static

Constructs MR::FeatureObjectProjectPointResult elementwise.

Calls MR_FeatureObjectProjectPointResult_ConstructFrom(). The reference to the parameter point might be preserved in the constructed object. The reference to the parameter normal might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FeatureObjectProjectPointResult::FeatureObjectProjectPointResult.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FeatureObjectProjectPointResult_DefaultConstruct().

◆ normal()

auto meshlib::FeatureObjectProjectPointResult::normal ( ) const -> &meshlib::std_optional_MR_Vector3f

Returns a pointer to a member variable of class MR::FeatureObjectProjectPointResult named normal.

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

◆ normal_mut()

auto meshlib::FeatureObjectProjectPointResult::normal_mut ( ) -> &mut meshlib::std_optional_MR_Vector3f

Returns a mutable pointer to a member variable of class MR::FeatureObjectProjectPointResult named normal.

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

◆ point()

auto meshlib::FeatureObjectProjectPointResult::point ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::FeatureObjectProjectPointResult named point.

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

◆ point_mut()

auto meshlib::FeatureObjectProjectPointResult::point_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::FeatureObjectProjectPointResult named point.

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

◆ set_normal()

void meshlib::FeatureObjectProjectPointResult::set_normal ( value:Option<&meshlib::Vector3f > )

Modifies a member variable of class MR::FeatureObjectProjectPointResult named normal.

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

◆ set_point()

void meshlib::FeatureObjectProjectPointResult::set_point ( value:meshlib::Vector3f )

Modifies a member variable of class MR::FeatureObjectProjectPointResult named point.

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


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