MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::CurvePoint:

Public Member Functions

auto assign_from_another (_other:&meshlib::CurvePoint) -> &mut meshlib::CurvePoint
auto pos () const -> &meshlib::Vector3f
auto pos_mut () -> &mut meshlib::Vector3f
void set_pos (value:meshlib::Vector3f)
auto dir () const -> &meshlib::Vector3f
auto dir_mut () -> &mut meshlib::Vector3f
void set_dir (value:meshlib::Vector3f)
auto snorm () const -> &meshlib::Vector3f
auto snorm_mut () -> &mut meshlib::Vector3f
void set_snorm (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CurvePoint >
static auto construct_from (pos:meshlib::Vector3f, dir:meshlib::Vector3f, snorm:meshlib::Vector3f) -> meshlib::Owned< meshlib::CurvePoint >
static auto construct_from_another (_other:&meshlib::CurvePoint) -> meshlib::Owned< meshlib::CurvePoint >
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::CurvePoint.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CurvePoint::construct_from ( pos:meshlib::Vector3f ,
dir:meshlib::Vector3f ,
snorm:meshlib::Vector3f  ) -> meshlib::Owned< meshlib::CurvePoint >
static

Constructs MR::CurvePoint elementwise.

Calls MR_CurvePoint_ConstructFrom(). The reference to the parameter pos might be preserved in the constructed object. The reference to the parameter dir might be preserved in the constructed object. The reference to the parameter snorm might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CurvePoint::CurvePoint.

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

◆ dir()

auto meshlib::CurvePoint::dir ( ) const -> &meshlib::Vector3f

< direction along the curve Returns a pointer to a member variable of class MR::CurvePoint named dir.

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

◆ dir_mut()

auto meshlib::CurvePoint::dir_mut ( ) -> &mut meshlib::Vector3f

< direction along the curve Returns a mutable pointer to a member variable of class MR::CurvePoint named dir.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CurvePoint_DefaultConstruct().

◆ pos()

auto meshlib::CurvePoint::pos ( ) const -> &meshlib::Vector3f

< position on the curve Returns a pointer to a member variable of class MR::CurvePoint named pos.

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

◆ pos_mut()

auto meshlib::CurvePoint::pos_mut ( ) -> &mut meshlib::Vector3f

< position on the curve Returns a mutable pointer to a member variable of class MR::CurvePoint named pos.

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

◆ set_dir()

void meshlib::CurvePoint::set_dir ( value:meshlib::Vector3f )

< direction along the curve Modifies a member variable of class MR::CurvePoint named dir.

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

◆ set_pos()

void meshlib::CurvePoint::set_pos ( value:meshlib::Vector3f )

< position on the curve Modifies a member variable of class MR::CurvePoint named pos.

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

◆ set_snorm()

void meshlib::CurvePoint::set_snorm ( value:meshlib::Vector3f )

< the normal of the surface where the curve is located Modifies a member variable of class MR::CurvePoint named snorm.

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

◆ snorm()

auto meshlib::CurvePoint::snorm ( ) const -> &meshlib::Vector3f

< the normal of the surface where the curve is located Returns a pointer to a member variable of class MR::CurvePoint named snorm.

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

◆ snorm_mut()

auto meshlib::CurvePoint::snorm_mut ( ) -> &mut meshlib::Vector3f

< the normal of the surface where the curve is located Returns a mutable pointer to a member variable of class MR::CurvePoint named snorm.

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


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