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

Public Member Functions

 DistanceFromWeightedPointsComputeParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DistanceFromWeightedPointsComputeParams ()
 DistanceFromWeightedPointsComputeParams (meshlib.DistanceFromWeightedPointsComputeParams _other)
meshlib.DistanceFromWeightedPointsComputeParams assignFromAnother (meshlib.DistanceFromWeightedPointsComputeParams _other)
float minBidirDist ()
void setMinBidirDist (float value)
float maxBidirDist ()
void setMaxBidirDist (float value)
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)
meshlib.DistanceFromWeightedPointsParams upcastToDistanceFromWeightedPointsParams ()
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 ()

Static Public Member Functions

static meshlib.DistanceFromWeightedPointsComputeParams staticDowncastFromDistanceFromWeightedPointsParams (meshlib.DistanceFromWeightedPointsParams object)

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::DistanceFromWeightedPointsComputeParams. Base classes: Direct: (non-virtual) MR::DistanceFromWeightedPointsParams

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

Constructor & Destructor Documentation

◆ DistanceFromWeightedPointsComputeParams() [1/3]

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

◆ DistanceFromWeightedPointsComputeParams() [2/3]

meshlib.DistanceFromWeightedPointsComputeParams.DistanceFromWeightedPointsComputeParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_DistanceFromWeightedPointsComputeParams_DefaultConstruct().

◆ DistanceFromWeightedPointsComputeParams() [3/3]

meshlib.DistanceFromWeightedPointsComputeParams.DistanceFromWeightedPointsComputeParams ( meshlib.DistanceFromWeightedPointsComputeParams _other)

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

Calls MR_DistanceFromWeightedPointsComputeParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DistanceFromWeightedPointsComputeParams meshlib.DistanceFromWeightedPointsComputeParams.assignFromAnother ( meshlib.DistanceFromWeightedPointsComputeParams _other)

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

Calls MR_DistanceFromWeightedPointsComputeParams_AssignFromAnother().

◆ bidirectionalMode()

boolean meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named bidirectionalMode. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_bidirectionalMode().

◆ maxBidirDist()

float meshlib.DistanceFromWeightedPointsComputeParams.maxBidirDist ( )

find the closest point only if weighted bidirectional distance to it is less than given value Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxBidirDist. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxBidirDist().

◆ maxWeight()

float meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named maxWeight. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxWeight().

◆ maxWeightGrad()

float meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named maxWeightGrad. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxWeightGrad().

◆ minBidirDist()

float meshlib.DistanceFromWeightedPointsComputeParams.minBidirDist ( )

default 0 here does not work for negative distances Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named minBidirDist. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_minBidirDist().

◆ minWeight()

float meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named minWeight. The reference to this object might be preserved as the return value.

Calls MR_DistanceFromWeightedPointsComputeParams_Get_minWeight().

◆ pointWeight()

meshlib.std_function_float_from_MR_VertId meshlib.DistanceFromWeightedPointsComputeParams.pointWeight ( )

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

Calls MR_DistanceFromWeightedPointsComputeParams_Get_pointWeight().

◆ setBidirectionalMode()

void meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named bidirectionalMode.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_bidirectionalMode().

◆ setMaxBidirDist()

void meshlib.DistanceFromWeightedPointsComputeParams.setMaxBidirDist ( float value)

find the closest point only if weighted bidirectional distance to it is less than given value Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxBidirDist.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxBidirDist().

◆ setMaxWeight()

void meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named maxWeight.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxWeight().

◆ setMaxWeightGrad()

void meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named maxWeightGrad.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxWeightGrad().

◆ setMinBidirDist()

void meshlib.DistanceFromWeightedPointsComputeParams.setMinBidirDist ( float value)

default 0 here does not work for negative distances Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named minBidirDist.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_minBidirDist().

◆ setMinWeight()

void meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named minWeight.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_minWeight().

◆ setPointWeight()

void meshlib.DistanceFromWeightedPointsComputeParams.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::DistanceFromWeightedPointsComputeParams named pointWeight. The reference to the parameter value might be preserved in this object in element pointWeight.

Calls MR_DistanceFromWeightedPointsComputeParams_Set_pointWeight().

◆ staticDowncastFromDistanceFromWeightedPointsParams()

meshlib.DistanceFromWeightedPointsComputeParams meshlib.DistanceFromWeightedPointsComputeParams.staticDowncastFromDistanceFromWeightedPointsParams ( meshlib.DistanceFromWeightedPointsParams object)
static

Static downcast from the base class MR::DistanceFromWeightedPointsParams. Undefined behavior if the object isn't actually a DistanceFromWeightedPointsComputeParams. The result refers to object.

Calls MR_DistanceFromWeightedPointsComputeParams_MutableStaticDowncastFrom_MR_DistanceFromWeightedPointsParams().

◆ upcastToDistanceFromWeightedPointsParams()

meshlib.DistanceFromWeightedPointsParams meshlib.DistanceFromWeightedPointsComputeParams.upcastToDistanceFromWeightedPointsParams ( )

Upcasts to the base class MR::DistanceFromWeightedPointsParams. The result refers to this object.

Calls MR_DistanceFromWeightedPointsComputeParams_MutableUpcastTo_MR_DistanceFromWeightedPointsParams().


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