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

Public Member Functions

 FlowOrigin (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FlowOrigin ()
 FlowOrigin (meshlib.MeshTriPoint point, float amount)
 FlowOrigin (meshlib.FlowOrigin _other)
meshlib.FlowOrigin assignFromAnother (meshlib.FlowOrigin _other)
meshlib.MeshTriPoint point ()
void setPoint (meshlib.MeshTriPoint value)
float amount ()
void setAmount (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

Generated from class MR::FlowOrigin.

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

Constructor & Destructor Documentation

◆ FlowOrigin() [1/4]

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

◆ FlowOrigin() [2/4]

meshlib.FlowOrigin.FlowOrigin ( )

Constructs an empty (default-constructed) instance.

Calls MR_FlowOrigin_DefaultConstruct().

◆ FlowOrigin() [3/4]

meshlib.FlowOrigin.FlowOrigin ( meshlib.MeshTriPoint point,
float amount )

Constructs MR::FlowOrigin elementwise. The reference to the parameter point might be preserved in the constructed object.

Calls MR_FlowOrigin_ConstructFrom().

◆ FlowOrigin() [4/4]

meshlib.FlowOrigin.FlowOrigin ( meshlib.FlowOrigin _other)

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

Calls MR_FlowOrigin_ConstructFromAnother().

Member Function Documentation

◆ amount()

float meshlib.FlowOrigin.amount ( )

amount of flow, e.g. can be proportional to the horizontal area associated with the start point Returns a pointer to a member variable of class MR::FlowOrigin named amount. The reference to this object might be preserved as the return value.

Calls MR_FlowOrigin_Get_amount().

◆ assignFromAnother()

meshlib.FlowOrigin meshlib.FlowOrigin.assignFromAnother ( meshlib.FlowOrigin _other)

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

Calls MR_FlowOrigin_AssignFromAnother().

◆ point()

meshlib.MeshTriPoint meshlib.FlowOrigin.point ( )

point on the mesh, where this flow starts Returns a pointer to a member variable of class MR::FlowOrigin named point. The reference to this object might be preserved as the return value.

Calls MR_FlowOrigin_Get_point().

◆ setAmount()

void meshlib.FlowOrigin.setAmount ( float value)

amount of flow, e.g. can be proportional to the horizontal area associated with the start point Modifies a member variable of class MR::FlowOrigin named amount.

Calls MR_FlowOrigin_Set_amount().

◆ setPoint()

void meshlib.FlowOrigin.setPoint ( meshlib.MeshTriPoint value)

point on the mesh, where this flow starts Modifies a member variable of class MR::FlowOrigin named point. The reference to the parameter value might be preserved in this object in element point.

Calls MR_FlowOrigin_Set_point().


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