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

Public Member Functions

 LineSegm3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 LineSegm3f ()
 LineSegm3f (meshlib.LineSegm3f _other)
 LineSegm3f (meshlib.Vector3f a, meshlib.Vector3f b)
meshlib.LineSegm3f assignFromAnother (meshlib.LineSegm3f _other)
meshlib.Vector3f dir ()
float lengthSq ()
float length ()
meshlib.Vector3f call (float param)
meshlib.Vector3f a ()
void setA (meshlib.Vector3f value)
meshlib.Vector3f b ()
void setB (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

a segment of straight dimensional line Generated from class MR::LineSegm3f.

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

Constructor & Destructor Documentation

◆ LineSegm3f() [1/4]

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

◆ LineSegm3f() [2/4]

meshlib.LineSegm3f.LineSegm3f ( )

Constructs an empty (default-constructed) instance.

Calls MR_LineSegm3f_DefaultConstruct().

◆ LineSegm3f() [3/4]

meshlib.LineSegm3f.LineSegm3f ( meshlib.LineSegm3f _other)

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

Calls MR_LineSegm3f_ConstructFromAnother().

◆ LineSegm3f() [4/4]

meshlib.LineSegm3f.LineSegm3f ( meshlib.Vector3f a,
meshlib.Vector3f b )

Generated from constructor MR::LineSegm3f::LineSegm3f. 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.

Calls MR_LineSegm3f_Construct().

Member Function Documentation

◆ a()

meshlib.Vector3f meshlib.LineSegm3f.a ( )

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

Calls MR_LineSegm3f_Get_a().

◆ assignFromAnother()

meshlib.LineSegm3f meshlib.LineSegm3f.assignFromAnother ( meshlib.LineSegm3f _other)

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

Calls MR_LineSegm3f_AssignFromAnother().

◆ b()

meshlib.Vector3f meshlib.LineSegm3f.b ( )

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

Calls MR_LineSegm3f_Get_b().

◆ call()

meshlib.Vector3f meshlib.LineSegm3f.call ( float param)

returns point on the line, where param=0 returns a and param=1 returns b Generated from method MR::LineSegm3f::operator().

Calls MR_LineSegm3f_call().

◆ dir()

meshlib.Vector3f meshlib.LineSegm3f.dir ( )

returns directional vector of the line Generated from method MR::LineSegm3f::dir.

Calls MR_LineSegm3f_dir().

◆ length()

float meshlib.LineSegm3f.length ( )

returns the length of this line segment Generated from method MR::LineSegm3f::length.

Calls MR_LineSegm3f_length().

◆ lengthSq()

float meshlib.LineSegm3f.lengthSq ( )

returns squared length of this line segment Generated from method MR::LineSegm3f::lengthSq.

Calls MR_LineSegm3f_lengthSq().

◆ setA()

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

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

Calls MR_LineSegm3f_Set_a().

◆ setB()

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

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

Calls MR_LineSegm3f_Set_b().


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