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

Public Member Functions

 IntersectionPrecomputes2_float (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 IntersectionPrecomputes2_float ()
 IntersectionPrecomputes2_float (meshlib.IntersectionPrecomputes2_float _other)
 IntersectionPrecomputes2_float (meshlib.Vector2f dir)
meshlib.IntersectionPrecomputes2_float assignFromAnother (meshlib.IntersectionPrecomputes2_float _other)
meshlib.Vector2f invDir ()
void setInvDir (meshlib.Vector2f value)
int maxDimIdxY ()
void setMaxDimIdxY (int value)
int idxX ()
void setIdxX (int value)
meshlib.Vector2i sign ()
void setSign (meshlib.Vector2i value)
float Sx ()
void setSx (float value)
float Sy ()
void setSy (float 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

stores useful precomputed values for presented direction vector

allows to avoid repeatable computations during intersection finding Generated from class MR::IntersectionPrecomputes2<float>.

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

Constructor & Destructor Documentation

◆ IntersectionPrecomputes2_float() [1/4]

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

◆ IntersectionPrecomputes2_float() [2/4]

meshlib.IntersectionPrecomputes2_float.IntersectionPrecomputes2_float ( )

Constructs an empty (default-constructed) instance.

Calls MR_IntersectionPrecomputes2_float_DefaultConstruct().

◆ IntersectionPrecomputes2_float() [3/4]

meshlib.IntersectionPrecomputes2_float.IntersectionPrecomputes2_float ( meshlib.IntersectionPrecomputes2_float _other)

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

Calls MR_IntersectionPrecomputes2_float_ConstructFromAnother().

◆ IntersectionPrecomputes2_float() [4/4]

meshlib.IntersectionPrecomputes2_float.IntersectionPrecomputes2_float ( meshlib.Vector2f dir)

Generated from constructor MR::IntersectionPrecomputes2<float>::IntersectionPrecomputes2. The reference to the parameter dir might be preserved in the constructed object.

Calls MR_IntersectionPrecomputes2_float_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.IntersectionPrecomputes2_float meshlib.IntersectionPrecomputes2_float.assignFromAnother ( meshlib.IntersectionPrecomputes2_float _other)

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

Calls MR_IntersectionPrecomputes2_float_AssignFromAnother().

◆ idxX()

int meshlib.IntersectionPrecomputes2_float.idxX ( )

Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named idxX. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_idxX().

◆ invDir()

meshlib.Vector2f meshlib.IntersectionPrecomputes2_float.invDir ( )

{1 / dir} Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named invDir. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_invDir().

◆ maxDimIdxY()

int meshlib.IntersectionPrecomputes2_float.maxDimIdxY ( )

[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0} Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named maxDimIdxY. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_maxDimIdxY().

◆ setIdxX()

void meshlib.IntersectionPrecomputes2_float.setIdxX ( int value)

Modifies a member variable of class MR::IntersectionPrecomputes2<float> named idxX.

Calls MR_IntersectionPrecomputes2_float_Set_idxX().

◆ setInvDir()

void meshlib.IntersectionPrecomputes2_float.setInvDir ( meshlib.Vector2f value)

{1 / dir} Modifies a member variable of class MR::IntersectionPrecomputes2<float> named invDir. The reference to the parameter value might be preserved in this object in element invDir.

Calls MR_IntersectionPrecomputes2_float_Set_invDir().

◆ setMaxDimIdxY()

void meshlib.IntersectionPrecomputes2_float.setMaxDimIdxY ( int value)

[0]max, [1]next, [2]next-next f.e. {1,2} => {1,0} Modifies a member variable of class MR::IntersectionPrecomputes2<float> named maxDimIdxY.

Calls MR_IntersectionPrecomputes2_float_Set_maxDimIdxY().

◆ setSign()

void meshlib.IntersectionPrecomputes2_float.setSign ( meshlib.Vector2i value)

stores signs of direction vector; Modifies a member variable of class MR::IntersectionPrecomputes2<float> named sign. The reference to the parameter value might be preserved in this object in element sign.

Calls MR_IntersectionPrecomputes2_float_Set_sign().

◆ setSx()

void meshlib.IntersectionPrecomputes2_float.setSx ( float value)

precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<float> named Sx.

Calls MR_IntersectionPrecomputes2_float_Set_Sx().

◆ setSy()

void meshlib.IntersectionPrecomputes2_float.setSy ( float value)

precomputed factors Modifies a member variable of class MR::IntersectionPrecomputes2<float> named Sy.

Calls MR_IntersectionPrecomputes2_float_Set_Sy().

◆ sign()

meshlib.Vector2i meshlib.IntersectionPrecomputes2_float.sign ( )

stores signs of direction vector; Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named sign. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_sign().

◆ Sx()

float meshlib.IntersectionPrecomputes2_float.Sx ( )

precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sx. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_Sx().

◆ Sy()

float meshlib.IntersectionPrecomputes2_float.Sy ( )

precomputed factors Returns a pointer to a member variable of class MR::IntersectionPrecomputes2<float> named Sy. The reference to this object might be preserved as the return value.

Calls MR_IntersectionPrecomputes2_float_Get_Sy().


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