Public Member Functions | |
| InSphereTester_int (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| InSphereTester_int () | |
| InSphereTester_int (meshlib.InSphereTester_int _other) | |
| meshlib.InSphereTester_int | assignFromAnother (meshlib.InSphereTester_int _other) |
| boolean | reset (meshlib.Vector3i a, meshlib.Vector3i b, meshlib.Vector3i c, long rSq) |
| void | flip () |
| meshlib.InSphereResult | call (meshlib.Vector3i d) |
| 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) | |
the specialization implementing the precise integer predicate, exact for any input; rSq must be given in the same integer grid units as the point coordinates Generated from class MR::InSphereTester<int>. Derived classes: Direct: (non-virtual) MR::InSphereTesterSoS Indirect: (non-virtual) MR::FastInSphereTesterSoS
Instances created here own their C++ objects, see CppObject.
| meshlib.InSphereTester_int.InSphereTester_int | ( | 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.InSphereTester_int.InSphereTester_int | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_InSphereTester_int_DefaultConstruct().
| meshlib.InSphereTester_int.InSphereTester_int | ( | meshlib.InSphereTester_int | _other | ) |
Generated from constructor MR::InSphereTester<int>::InSphereTester. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_InSphereTester_int_ConstructFromAnother().
| meshlib.InSphereTester_int meshlib.InSphereTester_int.assignFromAnother | ( | meshlib.InSphereTester_int | _other | ) |
Generated from method MR::InSphereTester<int>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_InSphereTester_int_AssignFromAnother().
| meshlib.InSphereResult meshlib.InSphereTester_int.call | ( | meshlib.Vector3i | d | ) |
returns the position of the point d relative to the sphere (never NoSphere); shall be called only after reset() returned true Generated from method MR::InSphereTester<int>::operator().
Calls MR_InSphereTester_int_call().
| void meshlib.InSphereTester_int.flip | ( | ) |
swaps the points b and c, which selects the mirror sphere with the center on the other side of plane abc, and gives exactly the state of reset( a, c, b, rSq ) without recomputing anything: only the normal w changes there, and W, M, E are symmetric in b and c; shall be called only after reset() returned true Generated from method MR::InSphereTester<int>::flip.
Calls MR_InSphereTester_int_flip().
| boolean meshlib.InSphereTester_int.reset | ( | meshlib.Vector3i | a, |
| meshlib.Vector3i | b, | ||
| meshlib.Vector3i | c, | ||
| long | rSq ) |
prepares the tester for the sphere of radius sqrt(rSq) passing via points a, b, c, with the center located on the positive side of plane abc (in the half-space pointed at by cross( b - a, c - a ) from the plane); returns false if no such sphere exists: the points are collinear or coincident, or rSq is less than the squared circumradius of triangle abc Generated from method MR::InSphereTester<int>::reset.
Calls MR_InSphereTester_int_reset().