Static Public Member Functions | |
| static meshlib.FastWindingNumber | staticDowncastFromIFastWindingNumber (meshlib.IFastWindingNumber object) |
| static meshlib.FastWindingNumber | dynamicDowncastFromIFastWindingNumber (meshlib.IFastWindingNumber 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) | |
the class for fast approximate computation of winding number for a mesh (using its AABB tree) Note, this used to be [[nodiscard]], but GCC 12 doesn't understand both [[...]] and __attribute__(...) on the same class. A possible fix is to change MRMESH_CLASS globally to [[__gnu__::__visibility__("default")]]. Generated from class MR::FastWindingNumber. Base classes: Direct: (non-virtual) MR::IFastWindingNumber
Instances created here own their C++ objects, see CppObject.
| meshlib.FastWindingNumber.FastWindingNumber | ( | 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.FastWindingNumber.FastWindingNumber | ( | meshlib.FastWindingNumber | _other | ) |
Generated from constructor MR::FastWindingNumber::FastWindingNumber. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_FastWindingNumber_ConstructFromAnother().
| meshlib.FastWindingNumber.FastWindingNumber | ( | meshlib.Mesh | mesh | ) |
constructs this from AABB tree of given mesh; this remains valid only if tree is valid Generated from constructor MR::FastWindingNumber::FastWindingNumber. The reference to the parameter mesh might be preserved in the constructed object.
Calls MR_FastWindingNumber_Construct().
| void meshlib.FastWindingNumber.calcFromGrid | ( | meshlib.std_vector_float | res, |
| meshlib.Vector3i | dims, | ||
| meshlib.AffineXf3f | gridToMeshXf, | ||
| float | beta, | ||
| meshlib.std_function_bool_from_float | cb ) |
Generated from method MR::FastWindingNumber::calcFromGrid.
Calls MR_FastWindingNumber_calcFromGrid(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.FastWindingNumber.calcFromGridWithDistances | ( | meshlib.VoxelScalars | res, |
| meshlib.Vector3i | dims, | ||
| meshlib.AffineXf3f | gridToMeshXf, | ||
| meshlib.DistanceToMeshOptions | options, | ||
| meshlib.std_function_bool_from_float | cb ) |
Generated from method MR::FastWindingNumber::calcFromGridWithDistances.
Calls MR_FastWindingNumber_calcFromGridWithDistances(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.FastWindingNumber.calcFromVector | ( | meshlib.std_vector_float | res, |
| meshlib.std_vector_MR_Vector3f | points, | ||
| float | beta, | ||
| meshlib.FaceId | skipFace, | ||
| meshlib.std_function_bool_from_float | cb ) |
see methods' descriptions in IFastWindingNumber Generated from method MR::FastWindingNumber::calcFromVector.
Calls MR_FastWindingNumber_calcFromVector(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.FastWindingNumber.calcSelfIntersections | ( | meshlib.FaceBitSet | res, |
| float | beta, | ||
| meshlib.std_function_bool_from_float | cb ) |
Generated from method MR::FastWindingNumber::calcSelfIntersections.
Calls MR_FastWindingNumber_calcSelfIntersections(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| float meshlib.FastWindingNumber.calcWithDistances | ( | meshlib.Vector3f | p, |
| meshlib.DistanceToMeshOptions | options ) |
Generated from method MR::FastWindingNumber::calcWithDistances.
Calls MR_FastWindingNumber_calcWithDistances().
|
static |
Dynamic downcast from the base class MR::IFastWindingNumber. Returns null if the object isn't actually a FastWindingNumber. The result refers to object.
Calls MR_FastWindingNumber_MutableDynamicDowncastFrom_MR_IFastWindingNumber().
|
static |
Static downcast from the base class MR::IFastWindingNumber. Undefined behavior if the object isn't actually a FastWindingNumber. The result refers to object.
Calls MR_FastWindingNumber_MutableStaticDowncastFrom_MR_IFastWindingNumber().
| meshlib.IFastWindingNumber meshlib.FastWindingNumber.upcastToIFastWindingNumber | ( | ) |
Upcasts to the base class MR::IFastWindingNumber. The result refers to this object.
Calls MR_FastWindingNumber_MutableUpcastTo_MR_IFastWindingNumber().