Public Member Functions | |
| Ball3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Ball3f () | |
| Ball3f (meshlib.Vector3f center, float radiusSq) | |
| Ball3f (meshlib.Ball3f _other) | |
| meshlib.Ball3f | assignFromAnother (meshlib.Ball3f _other) |
| boolean | inside (meshlib.Vector3f pt) |
| boolean | outside (meshlib.Vector3f pt) |
| meshlib.Vector3f | center () |
| void | setCenter (meshlib.Vector3f 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) | |
a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball3f.
Instances created here own their C++ objects, see CppObject.
| meshlib.Ball3f.Ball3f | ( | 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.
| meshlib.Ball3f.Ball3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Ball3f_DefaultConstruct().
| meshlib.Ball3f.Ball3f | ( | meshlib.Vector3f | center, |
| float | radiusSq ) |
Constructs MR::Ball3f elementwise. The reference to the parameter center might be preserved in the constructed object.
Calls MR_Ball3f_ConstructFrom().
| meshlib.Ball3f.Ball3f | ( | meshlib.Ball3f | _other | ) |
Generated from constructor MR::Ball3f::Ball3f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Ball3f_ConstructFromAnother().
| meshlib.Ball3f meshlib.Ball3f.assignFromAnother | ( | meshlib.Ball3f | _other | ) |
Generated from method MR::Ball3f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Ball3f_AssignFromAnother().
| meshlib.Vector3f meshlib.Ball3f.center | ( | ) |
< ball's center Returns a pointer to a member variable of class MR::Ball3f named center. The reference to this object might be preserved as the return value.
Calls MR_Ball3f_Get_center().
|
static |
Returns a pointer to a member variable of class MR::Ball3f named elements.
Calls MR_Ball3f_Get_elements().
| boolean meshlib.Ball3f.inside | ( | meshlib.Vector3f | pt | ) |
returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball3f::inside.
Calls MR_Ball3f_inside().
| boolean meshlib.Ball3f.outside | ( | meshlib.Vector3f | pt | ) |
returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball3f::outside.
Calls MR_Ball3f_outside().
| float meshlib.Ball3f.radiusSq | ( | ) |
< ball's squared radius Returns a pointer to a member variable of class MR::Ball3f named radiusSq. The reference to this object might be preserved as the return value.
Calls MR_Ball3f_Get_radiusSq().
| void meshlib.Ball3f.setCenter | ( | meshlib.Vector3f | value | ) |
< ball's center Modifies a member variable of class MR::Ball3f named center. The reference to the parameter value might be preserved in this object in element center.
Calls MR_Ball3f_Set_center().
| void meshlib.Ball3f.setRadiusSq | ( | float | value | ) |
< ball's squared radius Modifies a member variable of class MR::Ball3f named radiusSq.
Calls MR_Ball3f_Set_radiusSq().