Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Dipole) -> &mut meshlib::Dipole |
| auto | add_if_good_approx (q:&meshlib::Vector3f, betaSq:f32, addTo:&mut f32) const -> bool |
| auto | pos () const -> &meshlib::Vector3f |
| auto | pos_mut () -> &mut meshlib::Vector3f |
| void | set_pos (value:meshlib::Vector3f) |
| auto | area () const -> &f32 |
| auto | area_mut () -> &mut f32 |
| void | set_area (value:f32) |
| auto | dir_area () const -> &meshlib::Vector3f |
| auto | dir_area_mut () -> &mut meshlib::Vector3f |
| void | set_dir_area (value:meshlib::Vector3f) |
| auto | rr () const -> &f32 |
| auto | rr_mut () -> &mut f32 |
| void | set_rr (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Dipole > |
| static auto | construct_from (pos:meshlib::Vector3f, area:f32, dirArea:meshlib::Vector3f, rr:f32) -> meshlib::Owned< meshlib::Dipole > |
| static auto | construct_from_another (_other:&meshlib::Dipole) -> meshlib::Owned< meshlib::Dipole > |
| 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 |
Single oriented point or two oppositely charged points close together, representing a mesh part (one or more triangles) https://www.dgp.toronto.edu/projects/fast-winding-numbers/fast-winding-numbers-for-soups-and-clouds-siggraph-2018-barill-et-al.pdf Generated from class MR::Dipole.
Generated from class MR::Dipole. Heap-allocated instances are held in Owned<Dipole>.
| auto meshlib::Dipole::add_if_good_approx | ( | q:&meshlib::Vector3f | , |
| betaSq:f32 | , | ||
| addTo:&mut | f32 ) const -> bool |
returns true if this dipole is good approximation for a point q; and adds the contribution of this dipole to the winding number at point q to addTo Generated from method MR::Dipole::addIfGoodApprox.
Calls MR_Dipole_addIfGoodApprox().
| auto meshlib::Dipole::area | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Dipole named area.
Calls MR_Dipole_Get_area(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::area_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Dipole named area.
Calls MR_Dipole_GetMutable_area(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::assign_from_another | ( | _other:&meshlib::Dipole | ) | -> &mut meshlib::Dipole |
Generated from method MR::Dipole::operator=.
Calls MR_Dipole_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::Dipole elementwise.
Calls MR_Dipole_ConstructFrom(). The reference to the parameter pos might be preserved in the constructed object. The reference to the parameter dirArea might be preserved in the constructed object.
|
static |
Generated from constructor MR::Dipole::Dipole.
Calls MR_Dipole_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Dipole::dir_area | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Dipole named dirArea.
Calls MR_Dipole_Get_dirArea(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::dir_area_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Dipole named dirArea.
Calls MR_Dipole_GetMutable_dirArea(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Dipole_DefaultConstruct().
| auto meshlib::Dipole::pos | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Dipole named pos.
Calls MR_Dipole_Get_pos(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::pos_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Dipole named pos.
Calls MR_Dipole_GetMutable_pos(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::rr | ( | ) | const -> &f32 |
maximum squared distance from pos to any corner of the bounding box Returns a pointer to a member variable of class MR::Dipole named rr.
Calls MR_Dipole_Get_rr(). The reference to this object might be preserved as the return value.
| auto meshlib::Dipole::rr_mut | ( | ) | -> &mut f32 |
maximum squared distance from pos to any corner of the bounding box Returns a mutable pointer to a member variable of class MR::Dipole named rr.
Calls MR_Dipole_GetMutable_rr(). The reference to this object might be preserved as the return value.
| void meshlib::Dipole::set_area | ( | value:f32 | ) |
Modifies a member variable of class MR::Dipole named area.
Calls MR_Dipole_Set_area().
| void meshlib::Dipole::set_dir_area | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Dipole named dirArea.
Calls MR_Dipole_Set_dirArea(). The reference to the parameter value might be preserved in this object in element dirArea.
| void meshlib::Dipole::set_pos | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Dipole named pos.
Calls MR_Dipole_Set_pos(). The reference to the parameter value might be preserved in this object in element pos.
| void meshlib::Dipole::set_rr | ( | value:f32 | ) |
maximum squared distance from pos to any corner of the bounding box Modifies a member variable of class MR::Dipole named rr.
Calls MR_Dipole_Set_rr().