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

Public Member Functions

auto convert_to_mr_point_on_face () const -> meshlib::Owned< meshlib::PointOnFace >
auto assign_from_another (_other:&meshlib::PointOnObject) -> &mut meshlib::PointOnObject
auto point () const -> &meshlib::Vector3f
auto point_mut () -> &mut meshlib::Vector3f
void set_point (value:meshlib::Vector3f)
auto z_buffer () const -> &f32
auto z_buffer_mut () -> &mut f32
void set_z_buffer (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PointOnObject >
static auto construct_from_another (_other:&meshlib::PointOnObject) -> meshlib::Owned< meshlib::PointOnObject >
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

point located on either

  1. face of ObjectMesh
  2. line of ObjectLines
  3. point of ObjectPoints Generated from class MR::PointOnObject.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::PointOnObject::PointOnObject.

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

◆ convert_to_mr_point_on_face()

auto meshlib::PointOnObject::convert_to_mr_point_on_face ( ) const -> meshlib::Owned< meshlib::PointOnFace >

Generated from conversion operator MR::PointOnObject::operator MR::PointOnFace.

Calls MR_PointOnObject_ConvertTo_MR_PointOnFace().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PointOnObject_DefaultConstruct().

◆ point()

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

3D location on the object in local coordinates Returns a pointer to a member variable of class MR::PointOnObject named point.

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

◆ point_mut()

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

3D location on the object in local coordinates Returns a mutable pointer to a member variable of class MR::PointOnObject named point.

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

◆ set_point()

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

3D location on the object in local coordinates Modifies a member variable of class MR::PointOnObject named point.

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

◆ set_z_buffer()

void meshlib::PointOnObject::set_z_buffer ( value:f32 )

z buffer value Modifies a member variable of class MR::PointOnObject named zBuffer.

Calls MR_PointOnObject_Set_zBuffer().

◆ z_buffer()

auto meshlib::PointOnObject::z_buffer ( ) const -> &f32

z buffer value Returns a pointer to a member variable of class MR::PointOnObject named zBuffer.

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

◆ z_buffer_mut()

auto meshlib::PointOnObject::z_buffer_mut ( ) -> &mut f32

z buffer value Returns a mutable pointer to a member variable of class MR::PointOnObject named zBuffer.

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


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