MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.Ball1f:

Public Member Functions

 Ball1f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Ball1f ()
 Ball1f (float center, float radiusSq)
 Ball1f (meshlib.Ball1f _other)
meshlib.Ball1f assignFromAnother (meshlib.Ball1f _other)
boolean inside (float pt)
boolean outside (float pt)
float center ()
void setCenter (float value)
float radiusSq ()
void setRadiusSq (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 ()

Static Public Member Functions

static int elements ()

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 ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball1f.

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

Constructor & Destructor Documentation

◆ Ball1f() [1/4]

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

◆ Ball1f() [2/4]

meshlib.Ball1f.Ball1f ( )

Constructs an empty (default-constructed) instance.

Calls MR_Ball1f_DefaultConstruct().

◆ Ball1f() [3/4]

meshlib.Ball1f.Ball1f ( float center,
float radiusSq )

Constructs MR::Ball1f elementwise.

Calls MR_Ball1f_ConstructFrom().

◆ Ball1f() [4/4]

meshlib.Ball1f.Ball1f ( meshlib.Ball1f _other)

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

Calls MR_Ball1f_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.Ball1f meshlib.Ball1f.assignFromAnother ( meshlib.Ball1f _other)

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

Calls MR_Ball1f_AssignFromAnother().

◆ center()

float meshlib.Ball1f.center ( )

< ball's center Returns a pointer to a member variable of class MR::Ball1f named center. The reference to this object might be preserved as the return value.

Calls MR_Ball1f_Get_center().

◆ elements()

int meshlib.Ball1f.elements ( )
static

Returns a pointer to a member variable of class MR::Ball1f named elements.

Calls MR_Ball1f_Get_elements().

◆ inside()

boolean meshlib.Ball1f.inside ( float pt)

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball1f::inside.

Calls MR_Ball1f_inside().

◆ outside()

boolean meshlib.Ball1f.outside ( float pt)

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball1f::outside.

Calls MR_Ball1f_outside().

◆ radiusSq()

float meshlib.Ball1f.radiusSq ( )

< ball's squared radius Returns a pointer to a member variable of class MR::Ball1f named radiusSq. The reference to this object might be preserved as the return value.

Calls MR_Ball1f_Get_radiusSq().

◆ setCenter()

void meshlib.Ball1f.setCenter ( float value)

< ball's center Modifies a member variable of class MR::Ball1f named center.

Calls MR_Ball1f_Set_center().

◆ setRadiusSq()

void meshlib.Ball1f.setRadiusSq ( float value)

< ball's squared radius Modifies a member variable of class MR::Ball1f named radiusSq.

Calls MR_Ball1f_Set_radiusSq().


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