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

Public Member Functions

auto assign_from_another (_other:&meshlib::OneMeshIntersection) -> &mut meshlib::OneMeshIntersection
auto primitive () const -> meshlib::OneMeshIntersection_Primitive
auto is_face () const -> bool
auto is_edge () const -> bool
auto is_vert () const -> bool
auto face () const -> meshlib::FaceId
auto edge () const -> meshlib::EdgeId
auto vert () const -> meshlib::VertId
void set_primitive_mr_face_id (f:meshlib::FaceId)
void set_primitive_mr_edge_id (e:meshlib::EdgeId)
void set_primitive_mr_vert_id (v:meshlib::VertId)
auto same_primitive (other:&meshlib::OneMeshIntersection) const -> bool
auto coordinate () const -> &meshlib::Vector3f
auto coordinate_mut () -> &mut meshlib::Vector3f
void set_coordinate (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OneMeshIntersection >
static auto construct_from_another (_other:&meshlib::OneMeshIntersection) -> meshlib::Owned< meshlib::OneMeshIntersection >
static auto construct_1 (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::OneMeshIntersection >
static auto construct_2_mr_face_id (f:meshlib::FaceId, p:&meshlib::Vector3f) -> meshlib::Owned< meshlib::OneMeshIntersection >
static auto construct_2_mr_edge_id (e:meshlib::EdgeId, p:&meshlib::Vector3f) -> meshlib::Owned< meshlib::OneMeshIntersection >
static auto construct_2_mr_vert_id (v:meshlib::VertId, p:&meshlib::Vector3f) -> meshlib::Owned< meshlib::OneMeshIntersection >
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

Simple point on mesh, represented by primitive id and coordinate in mesh space Generated from class MR::OneMeshIntersection.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_1()

auto meshlib::OneMeshIntersection::construct_1 ( _1:&meshlib::NoInit ) -> meshlib::Owned< meshlib::OneMeshIntersection >
static

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection.

Calls MR_OneMeshIntersection_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.

◆ construct_2_mr_edge_id()

auto meshlib::OneMeshIntersection::construct_2_mr_edge_id ( e:meshlib::EdgeId ,
p:&meshlib::Vector3f  ) -> meshlib::Owned< meshlib::OneMeshIntersection >
static

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection.

Calls MR_OneMeshIntersection_Construct_2_MR_EdgeId(). The reference to the parameter e might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

◆ construct_2_mr_face_id()

auto meshlib::OneMeshIntersection::construct_2_mr_face_id ( f:meshlib::FaceId ,
p:&meshlib::Vector3f  ) -> meshlib::Owned< meshlib::OneMeshIntersection >
static

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection.

Calls MR_OneMeshIntersection_Construct_2_MR_FaceId(). The reference to the parameter f might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

◆ construct_2_mr_vert_id()

auto meshlib::OneMeshIntersection::construct_2_mr_vert_id ( v:meshlib::VertId ,
p:&meshlib::Vector3f  ) -> meshlib::Owned< meshlib::OneMeshIntersection >
static

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection.

Calls MR_OneMeshIntersection_Construct_2_MR_VertId(). The reference to the parameter v might be preserved in the constructed object. The reference to the parameter p might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::OneMeshIntersection::OneMeshIntersection.

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

◆ coordinate()

auto meshlib::OneMeshIntersection::coordinate ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::OneMeshIntersection named coordinate.

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

◆ coordinate_mut()

auto meshlib::OneMeshIntersection::coordinate_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::OneMeshIntersection named coordinate.

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

◆ edge()

auto meshlib::OneMeshIntersection::edge ( ) const -> meshlib::EdgeId

Generated from method MR::OneMeshIntersection::edge.

Calls MR_OneMeshIntersection_edge().

◆ face()

auto meshlib::OneMeshIntersection::face ( ) const -> meshlib::FaceId

the primitive containing the point if it is of that kind, otherwise invalid id Generated from method MR::OneMeshIntersection::face.

Calls MR_OneMeshIntersection_face().

◆ is_edge()

auto meshlib::OneMeshIntersection::is_edge ( ) const -> bool

Generated from method MR::OneMeshIntersection::isEdge.

Calls MR_OneMeshIntersection_isEdge().

◆ is_face()

auto meshlib::OneMeshIntersection::is_face ( ) const -> bool

Generated from method MR::OneMeshIntersection::isFace.

Calls MR_OneMeshIntersection_isFace().

◆ is_vert()

auto meshlib::OneMeshIntersection::is_vert ( ) const -> bool

Generated from method MR::OneMeshIntersection::isVert.

Calls MR_OneMeshIntersection_isVert().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_OneMeshIntersection_DefaultConstruct().

◆ primitive()

auto meshlib::OneMeshIntersection::primitive ( ) const -> meshlib::OneMeshIntersection_Primitive

Generated from method MR::OneMeshIntersection::primitive.

Calls MR_OneMeshIntersection_primitive().

◆ same_primitive()

auto meshlib::OneMeshIntersection::same_primitive ( other:&meshlib::OneMeshIntersection ) const -> bool

whether both points are in the same primitive Generated from method MR::OneMeshIntersection::samePrimitive.

Calls MR_OneMeshIntersection_samePrimitive().

◆ set_coordinate()

void meshlib::OneMeshIntersection::set_coordinate ( value:meshlib::Vector3f )

Modifies a member variable of class MR::OneMeshIntersection named coordinate.

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

◆ set_primitive_mr_edge_id()

void meshlib::OneMeshIntersection::set_primitive_mr_edge_id ( e:meshlib::EdgeId )

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_EdgeId().

◆ set_primitive_mr_face_id()

void meshlib::OneMeshIntersection::set_primitive_mr_face_id ( f:meshlib::FaceId )

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_FaceId().

◆ set_primitive_mr_vert_id()

void meshlib::OneMeshIntersection::set_primitive_mr_vert_id ( v:meshlib::VertId )

Generated from method MR::OneMeshIntersection::setPrimitive.

Calls MR_OneMeshIntersection_setPrimitive_MR_VertId().

◆ vert()

auto meshlib::OneMeshIntersection::vert ( ) const -> meshlib::VertId

Generated from method MR::OneMeshIntersection::vert.

Calls MR_OneMeshIntersection_vert().


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