Public Member Functions | |
| InSphereResult | __call__ (self, ConstPreciseVertCoords d) |
| __init__ (self, *args, **kwargs) | |
| bool | outsideBothSpheres (self, ConstVector3i d) |
| Public Member Functions inherited from mrmeshpy.ConstInSphereTesterSoS | |
| InSphereResult | __call__ (self, ConstPreciseVertCoords d) |
| __init__ (self, *args, **kwargs) | |
| bool | degenerateTriangle (self) |
| bool | sphereExists (self, ConstPreciseVertCoords a, ConstPreciseVertCoords b, ConstPreciseVertCoords c, int rSq) |
| Public Member Functions inherited from mrmeshpy.ConstInSphereTester_int | |
| InSphereResult | __call__ (self, ConstVector3i d) |
| __init__ (self, *args, **kwargs) | |
Generated from: MR::FastInSphereTesterSoS 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
| mrmeshpy.ConstFastInSphereTesterSoS.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFastInSphereTesterSoS) -> None 2. __init__(self: meshlib.mrmeshpy.ConstFastInSphereTesterSoS, arg0: meshlib.mrmeshpy.ConstFastInSphereTesterSoS) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstFastInSphereTesterSoS, : meshlib.mrmeshpy.ConstFastInSphereTesterSoS) -> None
| InSphereResult mrmeshpy.ConstFastInSphereTesterSoS.__call__ | ( | self, | |
| ConstPreciseVertCoords | d ) |
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
| bool mrmeshpy.ConstFastInSphereTesterSoS.outsideBothSpheres | ( | self, | |
| ConstVector3i | d ) |
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)