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

Public Member Functions

 ComputeToolDistance (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ComputeToolDistance ()
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)
meshlib.IComputeToolDistance upcastToIComputeToolDistance ()
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.cuda.ComputeToolDistance staticDowncastFromIComputeToolDistance (meshlib.IComputeToolDistance object)
static meshlib.cuda.ComputeToolDistance dynamicDowncastFromIComputeToolDistance (meshlib.IComputeToolDistance 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

CUDA implementation of tool distance computation Generated from class MR::Cuda::ComputeToolDistance. Base classes: Direct: (non-virtual) MR::IComputeToolDistance

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

Constructor & Destructor Documentation

◆ ComputeToolDistance() [1/2]

meshlib.cuda.ComputeToolDistance.ComputeToolDistance ( 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.

◆ ComputeToolDistance() [2/2]

meshlib.cuda.ComputeToolDistance.ComputeToolDistance ( )

Constructs an empty (default-constructed) instance.

Calls MR_Cuda_ComputeToolDistance_DefaultConstruct().

Member Function Documentation

◆ computeToolDistance()

void meshlib.cuda.ComputeToolDistance.computeToolDistance ( meshlib.VoxelScalars output,
meshlib.Vector3i dims,
float voxelSize,
meshlib.Vector3f origin,
float padding )

Generated from method MR::Cuda::ComputeToolDistance::computeToolDistance.

Calls MR_Cuda_ComputeToolDistance_computeToolDistance(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ dynamicDowncastFromIComputeToolDistance()

meshlib.cuda.ComputeToolDistance meshlib.cuda.ComputeToolDistance.dynamicDowncastFromIComputeToolDistance ( meshlib.IComputeToolDistance object)
static

Dynamic downcast from the base class MR::IComputeToolDistance. Returns null if the object isn't actually a ComputeToolDistance. The result refers to object.

Calls MR_Cuda_ComputeToolDistance_MutableDynamicDowncastFrom_MR_IComputeToolDistance().

◆ prepare() [1/2]

meshlib.Vector3i meshlib.cuda.ComputeToolDistance.prepare ( meshlib.Vector3i dims,
meshlib.Polyline3 toolpath,
meshlib.EndMillTool toolSpec )

Generated from method MR::Cuda::ComputeToolDistance::prepare.

Calls MR_Cuda_ComputeToolDistance_prepare_MR_EndMillTool(). The C++ function returns expected<MR::Vector3i, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ prepare() [2/2]

meshlib.Vector3i meshlib.cuda.ComputeToolDistance.prepare ( meshlib.Vector3i dims,
meshlib.Polyline3 toolpath,
meshlib.Polyline2 toolProfile )

Generated from method MR::Cuda::ComputeToolDistance::prepare.

Calls MR_Cuda_ComputeToolDistance_prepare_MR_Polyline2(). The C++ function returns expected<MR::Vector3i, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ staticDowncastFromIComputeToolDistance()

meshlib.cuda.ComputeToolDistance meshlib.cuda.ComputeToolDistance.staticDowncastFromIComputeToolDistance ( meshlib.IComputeToolDistance object)
static

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

Calls MR_Cuda_ComputeToolDistance_MutableStaticDowncastFrom_MR_IComputeToolDistance().

◆ upcastToIComputeToolDistance()

meshlib.IComputeToolDistance meshlib.cuda.ComputeToolDistance.upcastToIComputeToolDistance ( )

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

Calls MR_Cuda_ComputeToolDistance_MutableUpcastTo_MR_IComputeToolDistance().


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