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

Public Member Functions

 DistanceFromWeightedPointsParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DistanceFromWeightedPointsParams ()
 DistanceFromWeightedPointsParams (meshlib.std_function_float_from_MR_VertId pointWeight, float minWeight, float maxWeight, float maxWeightGrad, boolean bidirectionalMode)
 DistanceFromWeightedPointsParams (meshlib.DistanceFromWeightedPointsParams _other)
meshlib.DistanceFromWeightedPointsParams assignFromAnother (meshlib.DistanceFromWeightedPointsParams _other)
meshlib.std_function_float_from_MR_VertId pointWeight ()
void setPointWeight (meshlib.std_function_float_from_MR_VertId value)
float minWeight ()
void setMinWeight (float value)
float maxWeight ()
void setMaxWeight (float value)
float maxWeightGrad ()
void setMaxWeightGrad (float value)
boolean bidirectionalMode ()
void setBidirectionalMode (boolean 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

Generated from class MR::DistanceFromWeightedPointsParams. Derived classes: Direct: (non-virtual) MR::DistanceFromWeightedPointsComputeParams

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ DistanceFromWeightedPointsParams() [1/4]

meshlib.DistanceFromWeightedPointsParams.DistanceFromWeightedPointsParams ( 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.

◆ DistanceFromWeightedPointsParams() [2/4]

meshlib.DistanceFromWeightedPointsParams.DistanceFromWeightedPointsParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_DistanceFromWeightedPointsParams_DefaultConstruct().

◆ DistanceFromWeightedPointsParams() [3/4]

meshlib.DistanceFromWeightedPointsParams.DistanceFromWeightedPointsParams ( meshlib.std_function_float_from_MR_VertId pointWeight,
float minWeight,
float maxWeight,
float maxWeightGrad,
boolean bidirectionalMode )

Constructs MR::DistanceFromWeightedPointsParams elementwise. The reference to the parameter pointWeight might be preserved in the constructed object.

Calls MR_DistanceFromWeightedPointsParams_ConstructFrom().

◆ DistanceFromWeightedPointsParams() [4/4]

meshlib.DistanceFromWeightedPointsParams.DistanceFromWeightedPointsParams ( meshlib.DistanceFromWeightedPointsParams _other)

Generated from constructor MR::DistanceFromWeightedPointsParams::DistanceFromWeightedPointsParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_DistanceFromWeightedPointsParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DistanceFromWeightedPointsParams meshlib.DistanceFromWeightedPointsParams.assignFromAnother ( meshlib.DistanceFromWeightedPointsParams _other)

Generated from method MR::DistanceFromWeightedPointsParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_DistanceFromWeightedPointsParams_AssignFromAnother().

◆ bidirectionalMode()

boolean meshlib.DistanceFromWeightedPointsParams.bidirectionalMode ( )

for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsParams named bidirectionalMode. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsParams_Get_bidirectionalMode().

◆ maxWeight()

float meshlib.DistanceFromWeightedPointsParams.maxWeight ( )

maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsParams named maxWeight. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsParams_Get_maxWeight().

◆ maxWeightGrad()

float meshlib.DistanceFromWeightedPointsParams.maxWeightGrad ( )

maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsParams named maxWeightGrad. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsParams_Get_maxWeightGrad().

◆ minWeight()

float meshlib.DistanceFromWeightedPointsParams.minWeight ( )

minimal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsParams named minWeight. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsParams_Get_minWeight().

◆ pointWeight()

meshlib.std_function_float_from_MR_VertId meshlib.DistanceFromWeightedPointsParams.pointWeight ( )

function returning the weight of each point, must be set by the user Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsParams named pointWeight. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsParams_Get_pointWeight().

◆ setBidirectionalMode()

void meshlib.DistanceFromWeightedPointsParams.setBidirectionalMode ( boolean value)

for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Modifies a member variable of class MR::DistanceFromWeightedPointsParams named bidirectionalMode.

Calls MR_DistanceFromWeightedPointsParams_Set_bidirectionalMode().

◆ setMaxWeight()

void meshlib.DistanceFromWeightedPointsParams.setMaxWeight ( float value)

maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Modifies a member variable of class MR::DistanceFromWeightedPointsParams named maxWeight.

Calls MR_DistanceFromWeightedPointsParams_Set_maxWeight().

◆ setMaxWeightGrad()

void meshlib.DistanceFromWeightedPointsParams.setMaxWeightGrad ( float value)

maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done Modifies a member variable of class MR::DistanceFromWeightedPointsParams named maxWeightGrad.

Calls MR_DistanceFromWeightedPointsParams_Set_maxWeightGrad().

◆ setMinWeight()

void meshlib.DistanceFromWeightedPointsParams.setMinWeight ( float value)

minimal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Modifies a member variable of class MR::DistanceFromWeightedPointsParams named minWeight.

Calls MR_DistanceFromWeightedPointsParams_Set_minWeight().

◆ setPointWeight()

void meshlib.DistanceFromWeightedPointsParams.setPointWeight ( meshlib.std_function_float_from_MR_VertId value)

function returning the weight of each point, must be set by the user Modifies a member variable of class MR::DistanceFromWeightedPointsParams named pointWeight. The reference to the parameter value might be preserved in this object in element pointWeight.

Calls MR_DistanceFromWeightedPointsParams_Set_pointWeight().


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