Public Member Functions | |
| Laplacian_Attractor (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Laplacian_Attractor () | |
| Laplacian_Attractor (meshlib.MeshTriPoint p, meshlib.Vector3d target, double weight) | |
| Laplacian_Attractor (meshlib.Laplacian_Attractor _other) | |
| meshlib.Laplacian_Attractor | assignFromAnother (meshlib.Laplacian_Attractor _other) |
| meshlib.MeshTriPoint | p () |
| void | setP (meshlib.MeshTriPoint value) |
| meshlib.Vector3d | target () |
| void | setTarget (meshlib.Vector3d value) |
| double | weight () |
| void | setWeight (double value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
attracts the given point inside some mesh's triangle to the given target with the given weight Generated from class MR::Laplacian::Attractor.
Instances created here own their C++ objects, see CppObject.
| meshlib.Laplacian_Attractor.Laplacian_Attractor | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Laplacian_Attractor.Laplacian_Attractor | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Laplacian_Attractor_DefaultConstruct().
| meshlib.Laplacian_Attractor.Laplacian_Attractor | ( | meshlib.MeshTriPoint | p, |
| meshlib.Vector3d | target, | ||
| double | weight ) |
Constructs MR::Laplacian::Attractor elementwise. 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.
Calls MR_Laplacian_Attractor_ConstructFrom().
| meshlib.Laplacian_Attractor.Laplacian_Attractor | ( | meshlib.Laplacian_Attractor | _other | ) |
Generated from constructor MR::Laplacian::Attractor::Attractor. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Laplacian_Attractor_ConstructFromAnother().
| meshlib.Laplacian_Attractor meshlib.Laplacian_Attractor.assignFromAnother | ( | meshlib.Laplacian_Attractor | _other | ) |
Generated from method MR::Laplacian::Attractor::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Laplacian_Attractor_AssignFromAnother().
| meshlib.MeshTriPoint meshlib.Laplacian_Attractor.p | ( | ) |
Returns a pointer to a member variable of class MR::Laplacian::Attractor named p. The reference to this object might be preserved as the return value.
Calls MR_Laplacian_Attractor_Get_p().
| void meshlib.Laplacian_Attractor.setP | ( | meshlib.MeshTriPoint | value | ) |
Modifies a member variable of class MR::Laplacian::Attractor named p. The reference to the parameter value might be preserved in this object in element p.
Calls MR_Laplacian_Attractor_Set_p().
| void meshlib.Laplacian_Attractor.setTarget | ( | meshlib.Vector3d | value | ) |
Modifies a member variable of class MR::Laplacian::Attractor named target. The reference to the parameter value might be preserved in this object in element target.
Calls MR_Laplacian_Attractor_Set_target().
| void meshlib.Laplacian_Attractor.setWeight | ( | double | value | ) |
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().
| meshlib.Vector3d meshlib.Laplacian_Attractor.target | ( | ) |
Returns a pointer to a member variable of class MR::Laplacian::Attractor named target. The reference to this object might be preserved as the return value.
Calls MR_Laplacian_Attractor_Get_target().
| double meshlib.Laplacian_Attractor.weight | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_Laplacian_Attractor_Get_weight().