Public Member Functions | |
| 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::InSphereTesterSoS the precise tester with simulation-of-simplicity resolution of "exactly on the sphere" ties, which reuses all the geometric machinery of InSphereTester<int> and adds only the vertex ids
| mrmeshpy.ConstInSphereTesterSoS.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstInSphereTesterSoS) -> None 2. __init__(self: meshlib.mrmeshpy.ConstInSphereTesterSoS, arg0: meshlib.mrmeshpy.ConstInSphereTesterSoS) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstInSphereTesterSoS, : meshlib.mrmeshpy.ConstInSphereTesterSoS) -> None
| InSphereResult mrmeshpy.ConstInSphereTesterSoS.__call__ | ( | self, | |
| ConstPreciseVertCoords | d ) |
returns the position of the point d.pt relative to the sphere, resolving "exactly on the sphere" ties into Inside or Outside by simulation-of-simplicity as described at the inSphere overload above, using the ids of d and of the points given in reset() (never returns OnSphere or NoSphere); shall be called only after reset() returned true, and all four ids must be distinct
| bool mrmeshpy.ConstInSphereTesterSoS.degenerateTriangle | ( | self | ) |
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
| bool mrmeshpy.ConstInSphereTesterSoS.sphereExists | ( | self, | |
| ConstPreciseVertCoords | a, | ||
| ConstPreciseVertCoords | b, | ||
| ConstPreciseVertCoords | c, | ||
| int | rSq ) |
returns exactly what reset( a, b, c, rSq ) would, without changing the tester: only the squared circumradius of the triangle is compared with rSq, and the sphere itself is not computed, which is much cheaper where just the existence of a sphere is needed