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

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshPoint) -> &mut meshlib::MeshPoint
void set (mesh:&meshlib::Mesh, p:&meshlib::MeshTriPoint)
auto tri_point () const -> &meshlib::MeshTriPoint
auto tri_point_mut () -> &mut meshlib::MeshTriPoint
void set_tri_point (value:&meshlib::MeshTriPoint)
auto pt () const -> &meshlib::Vector3f
auto pt_mut () -> &mut meshlib::Vector3f
void set_pt (value:meshlib::Vector3f)
auto in_dir () const -> &meshlib::Vector3f
auto in_dir_mut () -> &mut meshlib::Vector3f
void set_in_dir (value:meshlib::Vector3f)
auto not_incident_faces () const -> &meshlib::std_function_bool_from_MR_FaceId
auto not_incident_faces_mut () -> &mut meshlib::std_function_bool_from_MR_FaceId
void set_not_incident_faces (value:&meshlib::std_function_bool_from_MR_FaceId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshPoint >
static auto construct_from (triPoint:&meshlib::MeshTriPoint, pt:meshlib::Vector3f, inDir:meshlib::Vector3f, notIncidentFaces:&meshlib::std_function_bool_from_MR_FaceId) -> meshlib::Owned< meshlib::MeshPoint >
static auto construct_from_another (_other:&meshlib::MeshPoint) -> meshlib::Owned< meshlib::MeshPoint >
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

describes the point of measurement on mesh Generated from class MR::MeshPoint.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::MeshPoint::construct_from ( triPoint:&meshlib::MeshTriPoint ,
pt:meshlib::Vector3f ,
inDir:meshlib::Vector3f ,
notIncidentFaces:&meshlib::std_function_bool_from_MR_FaceId  ) -> meshlib::Owned< meshlib::MeshPoint >
static

Constructs MR::MeshPoint elementwise.

Calls MR_MeshPoint_ConstructFrom(). The reference to the parameter triPoint might be preserved in the constructed object. The reference to the parameter pt might be preserved in the constructed object. The reference to the parameter inDir might be preserved in the constructed object. The reference to the parameter notIncidentFaces might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshPoint::MeshPoint.

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

◆ in_dir()

auto meshlib::MeshPoint::in_dir ( ) const -> &meshlib::Vector3f

< unit direction inside the mesh = minus normal Returns a pointer to a member variable of class MR::MeshPoint named inDir.

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

◆ in_dir_mut()

auto meshlib::MeshPoint::in_dir_mut ( ) -> &mut meshlib::Vector3f

< unit direction inside the mesh = minus normal Returns a mutable pointer to a member variable of class MR::MeshPoint named inDir.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshPoint_DefaultConstruct().

◆ not_incident_faces()

auto meshlib::MeshPoint::not_incident_faces ( ) const -> &meshlib::std_function_bool_from_MR_FaceId

< predicate that returns true for mesh faces not-incident to the point Returns a pointer to a member variable of class MR::MeshPoint named notIncidentFaces.

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

◆ not_incident_faces_mut()

auto meshlib::MeshPoint::not_incident_faces_mut ( ) -> &mut meshlib::std_function_bool_from_MR_FaceId

< predicate that returns true for mesh faces not-incident to the point Returns a mutable pointer to a member variable of class MR::MeshPoint named notIncidentFaces.

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

◆ pt()

auto meshlib::MeshPoint::pt ( ) const -> &meshlib::Vector3f

< 3d coordinates Returns a pointer to a member variable of class MR::MeshPoint named pt.

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

◆ pt_mut()

auto meshlib::MeshPoint::pt_mut ( ) -> &mut meshlib::Vector3f

< 3d coordinates Returns a mutable pointer to a member variable of class MR::MeshPoint named pt.

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

◆ set()

void meshlib::MeshPoint::set ( mesh:&meshlib::Mesh ,
p:&meshlib::MeshTriPoint  )

Generated from method MR::MeshPoint::set.

Calls MR_MeshPoint_set().

◆ set_in_dir()

void meshlib::MeshPoint::set_in_dir ( value:meshlib::Vector3f )

< unit direction inside the mesh = minus normal Modifies a member variable of class MR::MeshPoint named inDir.

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

◆ set_not_incident_faces()

void meshlib::MeshPoint::set_not_incident_faces ( value:&meshlib::std_function_bool_from_MR_FaceId )

< predicate that returns true for mesh faces not-incident to the point Modifies a member variable of class MR::MeshPoint named notIncidentFaces.

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

◆ set_pt()

void meshlib::MeshPoint::set_pt ( value:meshlib::Vector3f )

< 3d coordinates Modifies a member variable of class MR::MeshPoint named pt.

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

◆ set_tri_point()

void meshlib::MeshPoint::set_tri_point ( value:&meshlib::MeshTriPoint )

< relative position on mesh Modifies a member variable of class MR::MeshPoint named triPoint.

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

◆ tri_point()

auto meshlib::MeshPoint::tri_point ( ) const -> &meshlib::MeshTriPoint

< relative position on mesh Returns a pointer to a member variable of class MR::MeshPoint named triPoint.

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

◆ tri_point_mut()

auto meshlib::MeshPoint::tri_point_mut ( ) -> &mut meshlib::MeshTriPoint

< relative position on mesh Returns a mutable pointer to a member variable of class MR::MeshPoint named triPoint.

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


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