MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Laplacian_Attractor Class Reference
Inheritance diagram for meshlib.Laplacian_Attractor:

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)

Detailed Description

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.

Constructor & Destructor Documentation

◆ Laplacian_Attractor() [1/4]

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.

◆ Laplacian_Attractor() [2/4]

meshlib.Laplacian_Attractor.Laplacian_Attractor ( )

Constructs an empty (default-constructed) instance.

Calls MR_Laplacian_Attractor_DefaultConstruct().

◆ Laplacian_Attractor() [3/4]

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().

◆ Laplacian_Attractor() [4/4]

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().

Member Function Documentation

◆ assignFromAnother()

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().

◆ p()

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().

◆ setP()

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().

◆ setTarget()

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().

◆ setWeight()

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().

◆ target()

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().

◆ weight()

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().


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