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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::PointOnFace) -> &mut meshlib::PointOnFace
auto valid () const -> bool
auto face () const -> &meshlib::FaceId
auto face_mut () -> &mut meshlib::FaceId
void set_face (value:meshlib::FaceId)
auto point () const -> &meshlib::Vector3f
auto point_mut () -> &mut meshlib::Vector3f
void set_point (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PointOnFace >
static auto construct_from (face:meshlib::FaceId, point:meshlib::Vector3f) -> meshlib::Owned< meshlib::PointOnFace >
static auto construct_from_another (_other:&meshlib::PointOnFace) -> meshlib::Owned< meshlib::PointOnFace >
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

a point located on some mesh's face Generated from class MR::PointOnFace.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::PointOnFace::construct_from ( face:meshlib::FaceId ,
point:meshlib::Vector3f  ) -> meshlib::Owned< meshlib::PointOnFace >
static

Constructs MR::PointOnFace elementwise.

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

◆ construct_from_another()

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

Generated from constructor MR::PointOnFace::PointOnFace.

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

◆ convert_to_bool()

auto meshlib::PointOnFace::convert_to_bool ( ) const -> bool

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

Calls MR_PointOnFace_ConvertTo_bool().

◆ face()

auto meshlib::PointOnFace::face ( ) const -> &meshlib::FaceId

mesh's face containing the point Returns a pointer to a member variable of class MR::PointOnFace named face.

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

◆ face_mut()

auto meshlib::PointOnFace::face_mut ( ) -> &mut meshlib::FaceId

mesh's face containing the point Returns a mutable pointer to a member variable of class MR::PointOnFace named face.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PointOnFace_DefaultConstruct().

◆ point()

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

a point of the mesh's face Returns a pointer to a member variable of class MR::PointOnFace named point.

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

◆ point_mut()

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

a point of the mesh's face Returns a mutable pointer to a member variable of class MR::PointOnFace named point.

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

◆ set_face()

void meshlib::PointOnFace::set_face ( value:meshlib::FaceId )

mesh's face containing the point Modifies a member variable of class MR::PointOnFace named face.

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

◆ set_point()

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

a point of the mesh's face Modifies a member variable of class MR::PointOnFace named point.

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

◆ valid()

auto meshlib::PointOnFace::valid ( ) const -> bool

check for validity, otherwise the point is not defined Generated from method MR::PointOnFace::valid.

Calls MR_PointOnFace_valid().


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