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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ TwoLineSegmClosestPoints_double() [1/4]

meshlib.TwoLineSegmClosestPoints_double.TwoLineSegmClosestPoints_double ( 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_double() [2/4]

meshlib.TwoLineSegmClosestPoints_double.TwoLineSegmClosestPoints_double ( )

Constructs an empty (default-constructed) instance.

Calls MR_TwoLineSegmClosestPoints_double_DefaultConstruct().

◆ TwoLineSegmClosestPoints_double() [3/4]

meshlib.TwoLineSegmClosestPoints_double.TwoLineSegmClosestPoints_double ( meshlib.Vector3d a,
meshlib.Vector3d b,
meshlib.Vector3d dir )

Constructs MR::TwoLineSegmClosestPoints<double> 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_double_ConstructFrom().

◆ TwoLineSegmClosestPoints_double() [4/4]

meshlib.TwoLineSegmClosestPoints_double.TwoLineSegmClosestPoints_double ( meshlib.TwoLineSegmClosestPoints_double _other)

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

Calls MR_TwoLineSegmClosestPoints_double_ConstructFromAnother().

Member Function Documentation

◆ a()

meshlib.Vector3d meshlib.TwoLineSegmClosestPoints_double.a ( )

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

Calls MR_TwoLineSegmClosestPoints_double_Get_a().

◆ assignFromAnother()

meshlib.TwoLineSegmClosestPoints_double meshlib.TwoLineSegmClosestPoints_double.assignFromAnother ( meshlib.TwoLineSegmClosestPoints_double _other)

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

Calls MR_TwoLineSegmClosestPoints_double_AssignFromAnother().

◆ b()

meshlib.Vector3d meshlib.TwoLineSegmClosestPoints_double.b ( )

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

Calls MR_TwoLineSegmClosestPoints_double_Get_b().

◆ dir()

meshlib.Vector3d meshlib.TwoLineSegmClosestPoints_double.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<double> named dir. The reference to this object might be preserved as the return value.

Calls MR_TwoLineSegmClosestPoints_double_Get_dir().

◆ setA()

void meshlib.TwoLineSegmClosestPoints_double.setA ( meshlib.Vector3d value)

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

Calls MR_TwoLineSegmClosestPoints_double_Set_a().

◆ setB()

void meshlib.TwoLineSegmClosestPoints_double.setB ( meshlib.Vector3d value)

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

Calls MR_TwoLineSegmClosestPoints_double_Set_b().

◆ setDir()

void meshlib.TwoLineSegmClosestPoints_double.setDir ( meshlib.Vector3d 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<double> named dir. The reference to the parameter value might be preserved in this object in element dir.

Calls MR_TwoLineSegmClosestPoints_double_Set_dir().


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