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

Public Member Functions

 CurvePoint (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CurvePoint ()
 CurvePoint (meshlib.Vector3f pos, meshlib.Vector3f dir, meshlib.Vector3f snorm)
 CurvePoint (meshlib.CurvePoint _other)
meshlib.CurvePoint assignFromAnother (meshlib.CurvePoint _other)
meshlib.Vector3f pos ()
void setPos (meshlib.Vector3f value)
meshlib.Vector3f dir ()
void setDir (meshlib.Vector3f value)
meshlib.Vector3f snorm ()
void setSnorm (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::CurvePoint.

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

Constructor & Destructor Documentation

◆ CurvePoint() [1/4]

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

◆ CurvePoint() [2/4]

meshlib.CurvePoint.CurvePoint ( )

Constructs an empty (default-constructed) instance.

Calls MR_CurvePoint_DefaultConstruct().

◆ CurvePoint() [3/4]

meshlib.CurvePoint.CurvePoint ( meshlib.Vector3f pos,
meshlib.Vector3f dir,
meshlib.Vector3f snorm )

Constructs MR::CurvePoint elementwise. The reference to the parameter pos might be preserved in the constructed object. The reference to the parameter dir might be preserved in the constructed object. The reference to the parameter snorm might be preserved in the constructed object.

Calls MR_CurvePoint_ConstructFrom().

◆ CurvePoint() [4/4]

meshlib.CurvePoint.CurvePoint ( meshlib.CurvePoint _other)

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

Calls MR_CurvePoint_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CurvePoint meshlib.CurvePoint.assignFromAnother ( meshlib.CurvePoint _other)

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

Calls MR_CurvePoint_AssignFromAnother().

◆ dir()

meshlib.Vector3f meshlib.CurvePoint.dir ( )

< direction along the curve Returns a pointer to a member variable of class MR::CurvePoint named dir. The reference to this object might be preserved as the return value.

Calls MR_CurvePoint_Get_dir().

◆ pos()

meshlib.Vector3f meshlib.CurvePoint.pos ( )

< position on the curve Returns a pointer to a member variable of class MR::CurvePoint named pos. The reference to this object might be preserved as the return value.

Calls MR_CurvePoint_Get_pos().

◆ setDir()

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

< direction along the curve Modifies a member variable of class MR::CurvePoint named dir. The reference to the parameter value might be preserved in this object in element dir.

Calls MR_CurvePoint_Set_dir().

◆ setPos()

void meshlib.CurvePoint.setPos ( meshlib.Vector3f value)

< position on the curve Modifies a member variable of class MR::CurvePoint named pos. The reference to the parameter value might be preserved in this object in element pos.

Calls MR_CurvePoint_Set_pos().

◆ setSnorm()

void meshlib.CurvePoint.setSnorm ( meshlib.Vector3f value)

< the normal of the surface where the curve is located Modifies a member variable of class MR::CurvePoint named snorm. The reference to the parameter value might be preserved in this object in element snorm.

Calls MR_CurvePoint_Set_snorm().

◆ snorm()

meshlib.Vector3f meshlib.CurvePoint.snorm ( )

< the normal of the surface where the curve is located Returns a pointer to a member variable of class MR::CurvePoint named snorm. The reference to this object might be preserved as the return value.

Calls MR_CurvePoint_Get_snorm().


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