gives exactly the same answers as InSphereTesterSoS, only faster: the sphere's center is also computed in floating point during reset(), and every query point far enough from the sphere's surface is answered by it alone, leaving the exact predicates for the points close to it Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester<int> This is the const half of the class.
More...
|
| virtual unsafe void | Dispose (bool disposing) |
gives exactly the same answers as InSphereTesterSoS, only faster: the sphere's center is also computed in floating point during reset(), and every query point far enough from the sphere's surface is answered by it alone, leaving the exact predicates for the points close to it Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester<int> This is the const half of the class.
◆ Const_FastInSphereTesterSoS() [1/3]
| unsafe MR.Const_FastInSphereTesterSoS.Const_FastInSphereTesterSoS |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_FastInSphereTesterSoS() [2/3]
◆ Const_FastInSphereTesterSoS() [3/3]
◆ call()
returns the position of the point d.pt relative to the sphere, with the ties resolved by simulation-of-simplicity exactly as InSphereTesterSoS does (never OnSphere or NoSphere); shall be called only after reset() returned true, and all four ids must be distinct Generated from method MR::FastInSphereTesterSoS::operator().
◆ degenerateTriangle()
| unsafe bool MR.Const_FastInSphereTesterSoS.degenerateTriangle |
( |
| ) |
|
|
inline |
whether the last successful reset() got a degenerate triangle (two coincident points), where only the symbolically perturbed sphere exists; the exact sphere quantities of the base class are not valid then Generated from method MR.FastInSphereTesterSoS.degenerateTriangle.
◆ Dispose() [1/2]
| virtual void MR.Const_FastInSphereTesterSoS.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_FastInSphereTesterSoS.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ operator MR.Const_InSphereTester_Int()
◆ operator MR.Const_InSphereTesterSoS()
◆ outsideBothSpheres()
| unsafe bool MR.Const_FastInSphereTesterSoS.outsideBothSpheres |
( |
in MR.Vector3i | d | ) |
|
|
inline |
whether d is strictly outside both spheres of the given radius passing via the three points of reset(): the selected one and its mirror in the plane of the triangle; the answer is exact, and a point lying on either of them is not strictly outside, so no tie arises and no simulation-of-simplicity is involved; filtered in floating point as the query above, and equally exact; for a degenerate triangle, where only the perturbed spheres exist and the answer would need the id of d, returns false conservatively (never prunes) Generated from method MR.FastInSphereTesterSoS.outsideBothSpheres.
The documentation for this class was generated from the following file: