Public Member Functions | |
| IComputeToolDistance (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| meshlib.Vector3i | prepare (meshlib.Vector3i dims, meshlib.Polyline3 toolpath, meshlib.EndMillTool toolSpec) |
| meshlib.Vector3i | prepare (meshlib.Vector3i dims, meshlib.Polyline3 toolpath, meshlib.Polyline2 toolProfile) |
| void | computeToolDistance (meshlib.VoxelScalars output, meshlib.Vector3i dims, float voxelSize, meshlib.Vector3f origin, float padding) |
| 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) | |
Interface for custom tool distance computation implementations Generated from class MR::IComputeToolDistance. Derived classes: Direct: (non-virtual) MR::Cuda::ComputeToolDistance
Instances created here own their C++ objects, see CppObject.
| meshlib.IComputeToolDistance.IComputeToolDistance | ( | 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.
| void meshlib.IComputeToolDistance.computeToolDistance | ( | meshlib.VoxelScalars | output, |
| meshlib.Vector3i | dims, | ||
| float | voxelSize, | ||
| meshlib.Vector3f | origin, | ||
| float | padding ) |
Compute tool distance Generated from method MR::IComputeToolDistance::computeToolDistance.
Calls MR_IComputeToolDistance_computeToolDistance(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.Vector3i meshlib.IComputeToolDistance.prepare | ( | meshlib.Vector3i | dims, |
| meshlib.Polyline3 | toolpath, | ||
| meshlib.EndMillTool | toolSpec ) |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
Calls MR_IComputeToolDistance_prepare_MR_EndMillTool(). The C++ function returns expected<MR::Vector3i, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.Vector3i meshlib.IComputeToolDistance.prepare | ( | meshlib.Vector3i | dims, |
| meshlib.Polyline3 | toolpath, | ||
| meshlib.Polyline2 | toolProfile ) |
Prepare for a voxel grid of given dims and copy tool path and tool spec data
Calls MR_IComputeToolDistance_prepare_MR_Polyline2(). The C++ function returns expected<MR::Vector3i, std::string>: the value is returned and an error is thrown as UnexpectedResultException.