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

Public Member Functions

 ConvertToIntVector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ConvertToIntVector ()
 ConvertToIntVector (meshlib.Vector3d center, double invRange)
 ConvertToIntVector (meshlib.ConvertToIntVector _other)
meshlib.ConvertToIntVector assignFromAnother (meshlib.ConvertToIntVector _other)
int scaleOnly (double v)
meshlib.Vector3i call_MR_Vector3d (meshlib.Vector3d p)
meshlib.Vector3i call_MR_Vector3f (meshlib.Vector3f p)
meshlib.Vector3d center ()
void setCenter (meshlib.Vector3d value)
double invRange ()
void setInvRange (double 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

translate then scale float-to-int coordinate converter Generated from class MR::ConvertToIntVector.

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

Constructor & Destructor Documentation

◆ ConvertToIntVector() [1/4]

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

◆ ConvertToIntVector() [2/4]

meshlib.ConvertToIntVector.ConvertToIntVector ( )

Constructs an empty (default-constructed) instance.

Calls MR_ConvertToIntVector_DefaultConstruct().

◆ ConvertToIntVector() [3/4]

meshlib.ConvertToIntVector.ConvertToIntVector ( meshlib.Vector3d center,
double invRange )

Constructs MR::ConvertToIntVector elementwise. The reference to the parameter center might be preserved in the constructed object.

Calls MR_ConvertToIntVector_ConstructFrom().

◆ ConvertToIntVector() [4/4]

meshlib.ConvertToIntVector.ConvertToIntVector ( meshlib.ConvertToIntVector _other)

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

Calls MR_ConvertToIntVector_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ConvertToIntVector meshlib.ConvertToIntVector.assignFromAnother ( meshlib.ConvertToIntVector _other)

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

Calls MR_ConvertToIntVector_AssignFromAnother().

◆ call_MR_Vector3d()

meshlib.Vector3i meshlib.ConvertToIntVector.call_MR_Vector3d ( meshlib.Vector3d p)

double-to-int coordinates converter Generated from method MR::ConvertToIntVector::operator().

Calls MR_ConvertToIntVector_call_MR_Vector3d().

◆ call_MR_Vector3f()

meshlib.Vector3i meshlib.ConvertToIntVector.call_MR_Vector3f ( meshlib.Vector3f p)

float-to-int coordinates converter Generated from method MR::ConvertToIntVector::operator().

Calls MR_ConvertToIntVector_call_MR_Vector3f().

◆ center()

meshlib.Vector3d meshlib.ConvertToIntVector.center ( )

Returns a pointer to a member variable of class MR::ConvertToIntVector named center. The reference to this object might be preserved as the return value.

Calls MR_ConvertToIntVector_Get_center().

◆ invRange()

double meshlib.ConvertToIntVector.invRange ( )

Returns a pointer to a member variable of class MR::ConvertToIntVector named invRange. The reference to this object might be preserved as the return value.

Calls MR_ConvertToIntVector_Get_invRange().

◆ scaleOnly()

int meshlib.ConvertToIntVector.scaleOnly ( double v)

applies scaling only (without translation) with the following rounding to the nearest int Generated from method MR::ConvertToIntVector::scaleOnly.

Calls MR_ConvertToIntVector_scaleOnly().

◆ setCenter()

void meshlib.ConvertToIntVector.setCenter ( meshlib.Vector3d value)

Modifies a member variable of class MR::ConvertToIntVector named center. The reference to the parameter value might be preserved in this object in element center.

Calls MR_ConvertToIntVector_Set_center().

◆ setInvRange()

void meshlib.ConvertToIntVector.setInvRange ( double value)

Modifies a member variable of class MR::ConvertToIntVector named invRange.

Calls MR_ConvertToIntVector_Set_invRange().


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