Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Laplacian_Attractor) -> &mut meshlib::Laplacian_Attractor |
| auto | p () const -> &meshlib::MeshTriPoint |
| auto | p_mut () -> &mut meshlib::MeshTriPoint |
| void | set_p (value:&meshlib::MeshTriPoint) |
| auto | target () const -> &meshlib::Vector3d |
| auto | target_mut () -> &mut meshlib::Vector3d |
| void | set_target (value:meshlib::Vector3d) |
| auto | weight () const -> &f64 |
| auto | weight_mut () -> &mut f64 |
| void | set_weight (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Laplacian_Attractor > |
| static auto | construct_from (p:&meshlib::MeshTriPoint, target:meshlib::Vector3d, weight:f64) -> meshlib::Owned< meshlib::Laplacian_Attractor > |
| static auto | construct_from_another (_other:&meshlib::Laplacian_Attractor) -> meshlib::Owned< meshlib::Laplacian_Attractor > |
| 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 |
attracts the given point inside some mesh's triangle to the given target with the given weight Generated from class MR::Laplacian::Attractor.
Generated from class MR::Laplacian::Attractor. Heap-allocated instances are held in Owned<Laplacian_Attractor>.
| auto meshlib::Laplacian_Attractor::assign_from_another | ( | _other:&meshlib::Laplacian_Attractor | ) | -> &mut meshlib::Laplacian_Attractor |
Generated from method MR::Laplacian::Attractor::operator=.
Calls MR_Laplacian_Attractor_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::Laplacian::Attractor elementwise.
Calls MR_Laplacian_Attractor_ConstructFrom(). The reference to the parameter p might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object.
|
static |
Generated from constructor MR::Laplacian::Attractor::Attractor.
Calls MR_Laplacian_Attractor_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Laplacian_Attractor_DefaultConstruct().
| auto meshlib::Laplacian_Attractor::p | ( | ) | const -> &meshlib::MeshTriPoint |
Returns a pointer to a member variable of class MR::Laplacian::Attractor named p.
Calls MR_Laplacian_Attractor_Get_p(). The reference to this object might be preserved as the return value.
| auto meshlib::Laplacian_Attractor::p_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
Returns a mutable pointer to a member variable of class MR::Laplacian::Attractor named p.
Calls MR_Laplacian_Attractor_GetMutable_p(). The reference to this object might be preserved as the return value.
| void meshlib::Laplacian_Attractor::set_p | ( | value:&meshlib::MeshTriPoint | ) |
Modifies a member variable of class MR::Laplacian::Attractor named p.
Calls MR_Laplacian_Attractor_Set_p(). The reference to the parameter value might be preserved in this object in element p.
| void meshlib::Laplacian_Attractor::set_target | ( | value:meshlib::Vector3d | ) |
Modifies a member variable of class MR::Laplacian::Attractor named target.
Calls MR_Laplacian_Attractor_Set_target(). The reference to the parameter value might be preserved in this object in element target.
| void meshlib::Laplacian_Attractor::set_weight | ( | value:f64 | ) |
the weight or priority of this attractor relative to all other equations, which must be compatible with weights of other equations; the weight of ordinary equations is 1 for VertexMass::Unit, and 1 / sqrt( double area around central vertex ) for VertexMass::NeiArea Modifies a member variable of class MR::Laplacian::Attractor named weight.
Calls MR_Laplacian_Attractor_Set_weight().
| auto meshlib::Laplacian_Attractor::target | ( | ) | const -> &meshlib::Vector3d |
Returns a pointer to a member variable of class MR::Laplacian::Attractor named target.
Calls MR_Laplacian_Attractor_Get_target(). The reference to this object might be preserved as the return value.
| auto meshlib::Laplacian_Attractor::target_mut | ( | ) | -> &mut meshlib::Vector3d |
Returns a mutable pointer to a member variable of class MR::Laplacian::Attractor named target.
Calls MR_Laplacian_Attractor_GetMutable_target(). The reference to this object might be preserved as the return value.
| auto meshlib::Laplacian_Attractor::weight | ( | ) | const -> &f64 |
the weight or priority of this attractor relative to all other equations, which must be compatible with weights of other equations; the weight of ordinary equations is 1 for VertexMass::Unit, and 1 / sqrt( double area around central vertex ) for VertexMass::NeiArea Returns a pointer to a member variable of class MR::Laplacian::Attractor named weight.
Calls MR_Laplacian_Attractor_Get_weight(). The reference to this object might be preserved as the return value.
| auto meshlib::Laplacian_Attractor::weight_mut | ( | ) | -> &mut f64 |
the weight or priority of this attractor relative to all other equations, which must be compatible with weights of other equations; the weight of ordinary equations is 1 for VertexMass::Unit, and 1 / sqrt( double area around central vertex ) for VertexMass::NeiArea Returns a mutable pointer to a member variable of class MR::Laplacian::Attractor named weight.
Calls MR_Laplacian_Attractor_GetMutable_weight(). The reference to this object might be preserved as the return value.