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

Public Member Functions

 SphereParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SphereParams ()
 SphereParams (float radius, int numMeshVertices)
 SphereParams (meshlib.SphereParams _other)
meshlib.SphereParams assignFromAnother (meshlib.SphereParams _other)
float radius ()
void setRadius (float value)
int numMeshVertices ()
void setNumMeshVertices (int 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::SphereParams.

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

Constructor & Destructor Documentation

◆ SphereParams() [1/4]

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

◆ SphereParams() [2/4]

meshlib.SphereParams.SphereParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_SphereParams_DefaultConstruct().

◆ SphereParams() [3/4]

meshlib.SphereParams.SphereParams ( float radius,
int numMeshVertices )

Constructs MR::SphereParams elementwise.

Calls MR_SphereParams_ConstructFrom().

◆ SphereParams() [4/4]

meshlib.SphereParams.SphereParams ( meshlib.SphereParams _other)

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

Calls MR_SphereParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SphereParams meshlib.SphereParams.assignFromAnother ( meshlib.SphereParams _other)

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

Calls MR_SphereParams_AssignFromAnother().

◆ numMeshVertices()

int meshlib.SphereParams.numMeshVertices ( )

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

Calls MR_SphereParams_Get_numMeshVertices().

◆ radius()

float meshlib.SphereParams.radius ( )

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

Calls MR_SphereParams_Get_radius().

◆ setNumMeshVertices()

void meshlib.SphereParams.setNumMeshVertices ( int value)

Modifies a member variable of class MR::SphereParams named numMeshVertices.

Calls MR_SphereParams_Set_numMeshVertices().

◆ setRadius()

void meshlib.SphereParams.setRadius ( float value)

Modifies a member variable of class MR::SphereParams named radius.

Calls MR_SphereParams_Set_radius().


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