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

Public Member Functions

 TwoLineSegmClosestPoints_float (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 TwoLineSegmClosestPoints_float ()
 TwoLineSegmClosestPoints_float (meshlib.Vector3f a, meshlib.Vector3f b, meshlib.Vector3f dir)
 TwoLineSegmClosestPoints_float (meshlib.TwoLineSegmClosestPoints_float _other)
meshlib.TwoLineSegmClosestPoints_float assignFromAnother (meshlib.TwoLineSegmClosestPoints_float _other)
meshlib.Vector3f a ()
void setA (meshlib.Vector3f value)
meshlib.Vector3f b ()
void setB (meshlib.Vector3f value)
meshlib.Vector3f dir ()
void setDir (meshlib.Vector3f 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::TwoLineSegmClosestPoints<float>.

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

Constructor & Destructor Documentation

◆ TwoLineSegmClosestPoints_float() [1/4]

meshlib.TwoLineSegmClosestPoints_float.TwoLineSegmClosestPoints_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.

◆ TwoLineSegmClosestPoints_float() [2/4]

meshlib.TwoLineSegmClosestPoints_float.TwoLineSegmClosestPoints_float ( )

Constructs an empty (default-constructed) instance.

Calls MR_TwoLineSegmClosestPoints_float_DefaultConstruct().

◆ TwoLineSegmClosestPoints_float() [3/4]

meshlib.TwoLineSegmClosestPoints_float.TwoLineSegmClosestPoints_float ( meshlib.Vector3f a,
meshlib.Vector3f b,
meshlib.Vector3f dir )

Constructs MR::TwoLineSegmClosestPoints<float> elementwise. The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter dir might be preserved in the constructed object.

Calls MR_TwoLineSegmClosestPoints_float_ConstructFrom().

◆ TwoLineSegmClosestPoints_float() [4/4]

meshlib.TwoLineSegmClosestPoints_float.TwoLineSegmClosestPoints_float ( meshlib.TwoLineSegmClosestPoints_float _other)

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

Calls MR_TwoLineSegmClosestPoints_float_ConstructFromAnother().

Member Function Documentation

◆ a()

meshlib.Vector3f meshlib.TwoLineSegmClosestPoints_float.a ( )

the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named a. The reference to this object might be preserved as the return value.

Calls MR_TwoLineSegmClosestPoints_float_Get_a().

◆ assignFromAnother()

meshlib.TwoLineSegmClosestPoints_float meshlib.TwoLineSegmClosestPoints_float.assignFromAnother ( meshlib.TwoLineSegmClosestPoints_float _other)

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

Calls MR_TwoLineSegmClosestPoints_float_AssignFromAnother().

◆ b()

meshlib.Vector3f meshlib.TwoLineSegmClosestPoints_float.b ( )

the closest points each from its respective segment Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named b. The reference to this object might be preserved as the return value.

Calls MR_TwoLineSegmClosestPoints_float_Get_b().

◆ dir()

meshlib.Vector3f meshlib.TwoLineSegmClosestPoints_float.dir ( )

if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint Returns a pointer to a member variable of class MR::TwoLineSegmClosestPoints<float> named dir. The reference to this object might be preserved as the return value.

Calls MR_TwoLineSegmClosestPoints_float_Get_dir().

◆ setA()

void meshlib.TwoLineSegmClosestPoints_float.setA ( meshlib.Vector3f value)

the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named a. The reference to the parameter value might be preserved in this object in element a.

Calls MR_TwoLineSegmClosestPoints_float_Set_a().

◆ setB()

void meshlib.TwoLineSegmClosestPoints_float.setB ( meshlib.Vector3f value)

the closest points each from its respective segment Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named b. The reference to the parameter value might be preserved in this object in element b.

Calls MR_TwoLineSegmClosestPoints_float_Set_b().

◆ setDir()

void meshlib.TwoLineSegmClosestPoints_float.setDir ( meshlib.Vector3f value)

if both closest points are in segment endpoints, then directed from closest point a to closest point b, if both closest points are inner to the segments, then its orthogonal to both segments and directed from a to b, otherwise it is orthogonal to the segment with inner closest point and rotated toward/away the other closest point in endpoint Modifies a member variable of class MR::TwoLineSegmClosestPoints<float> named dir. The reference to the parameter value might be preserved in this object in element dir.

Calls MR_TwoLineSegmClosestPoints_float_Set_dir().


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