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

Public Member Functions

 MeshProjectionParameters (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshProjectionParameters ()
 MeshProjectionParameters (float loDistLimitSq, float upDistLimitSq, meshlib.AffineXf3f refXf, meshlib.AffineXf3f xf)
 MeshProjectionParameters (meshlib.MeshProjectionParameters _other)
meshlib.MeshProjectionParameters assignFromAnother (meshlib.MeshProjectionParameters _other)
float loDistLimitSq ()
void setLoDistLimitSq (float value)
float upDistLimitSq ()
void setUpDistLimitSq (float value)
java.lang.foreign.MemorySegment refXf ()
void setRefXf (meshlib.AffineXf3f value)
java.lang.foreign.MemorySegment xf ()
void setXf (meshlib.AffineXf3f value)
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)

Detailed Description

Generated from class MR::MeshProjectionParameters. Derived classes: Direct: (non-virtual) MR::ShrinkwrapParameters

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

Constructor & Destructor Documentation

◆ MeshProjectionParameters() [1/4]

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

◆ MeshProjectionParameters() [2/4]

meshlib.MeshProjectionParameters.MeshProjectionParameters ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshProjectionParameters_DefaultConstruct().

◆ MeshProjectionParameters() [3/4]

meshlib.MeshProjectionParameters.MeshProjectionParameters ( float loDistLimitSq,
float upDistLimitSq,
meshlib.AffineXf3f refXf,
meshlib.AffineXf3f xf )

Constructs MR::MeshProjectionParameters elementwise. The reference to the parameter refXf might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.

Calls MR_MeshProjectionParameters_ConstructFrom().

◆ MeshProjectionParameters() [4/4]

meshlib.MeshProjectionParameters.MeshProjectionParameters ( meshlib.MeshProjectionParameters _other)

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

Calls MR_MeshProjectionParameters_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshProjectionParameters meshlib.MeshProjectionParameters.assignFromAnother ( meshlib.MeshProjectionParameters _other)

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

Calls MR_MeshProjectionParameters_AssignFromAnother().

◆ loDistLimitSq()

float meshlib.MeshProjectionParameters.loDistLimitSq ( )

minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Returns a pointer to a member variable of class MR::MeshProjectionParameters named loDistLimitSq. The reference to this object might be preserved as the return value.

Calls MR_MeshProjectionParameters_Get_loDistLimitSq().

◆ refXf()

java.lang.foreign.MemorySegment meshlib.MeshProjectionParameters.refXf ( )

optional reference mesh to world transformation Returns a pointer to a member variable of class MR::MeshProjectionParameters named refXf. The reference to this object might be preserved as the return value.

Calls MR_MeshProjectionParameters_Get_refXf(). Some types are raw C types, see the C bindings for the details.

◆ setLoDistLimitSq()

void meshlib.MeshProjectionParameters.setLoDistLimitSq ( float value)

minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Modifies a member variable of class MR::MeshProjectionParameters named loDistLimitSq.

Calls MR_MeshProjectionParameters_Set_loDistLimitSq().

◆ setRefXf()

void meshlib.MeshProjectionParameters.setRefXf ( meshlib.AffineXf3f value)

optional reference mesh to world transformation Modifies a member variable of class MR::MeshProjectionParameters named refXf. The reference to the parameter value might be preserved in this object in element refXf.

Calls MR_MeshProjectionParameters_Set_refXf().

◆ setUpDistLimitSq()

void meshlib.MeshProjectionParameters.setUpDistLimitSq ( float value)

maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Modifies a member variable of class MR::MeshProjectionParameters named upDistLimitSq.

Calls MR_MeshProjectionParameters_Set_upDistLimitSq().

◆ setXf()

void meshlib.MeshProjectionParameters.setXf ( meshlib.AffineXf3f value)

optional test points to world transformation Modifies a member variable of class MR::MeshProjectionParameters named xf. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_MeshProjectionParameters_Set_xf().

◆ upDistLimitSq()

float meshlib.MeshProjectionParameters.upDistLimitSq ( )

maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Returns a pointer to a member variable of class MR::MeshProjectionParameters named upDistLimitSq. The reference to this object might be preserved as the return value.

Calls MR_MeshProjectionParameters_Get_upDistLimitSq().

◆ xf()

java.lang.foreign.MemorySegment meshlib.MeshProjectionParameters.xf ( )

optional test points to world transformation Returns a pointer to a member variable of class MR::MeshProjectionParameters named xf. The reference to this object might be preserved as the return value.

Calls MR_MeshProjectionParameters_Get_xf(). Some types are raw C types, see the C bindings for the details.


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