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) | |
Generated from class MR::DistanceFromWeightedPointsComputeParams. Base classes: Direct: (non-virtual) MR::DistanceFromWeightedPointsParams
Instances created here own their C++ objects, see CppObject.
| 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.
| meshlib.DistanceFromWeightedPointsComputeParams.DistanceFromWeightedPointsComputeParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_DistanceFromWeightedPointsComputeParams_DefaultConstruct().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
|
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().
| meshlib.DistanceFromWeightedPointsParams meshlib.DistanceFromWeightedPointsComputeParams.upcastToDistanceFromWeightedPointsParams | ( | ) |
Upcasts to the base class MR::DistanceFromWeightedPointsParams. The result refers to this object.
Calls MR_DistanceFromWeightedPointsComputeParams_MutableUpcastTo_MR_DistanceFromWeightedPointsParams().