Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ConstInSphereTesterSoS arg0) |
| InSphereTesterSoS | assign (self, ConstInSphereTesterSoS other) |
| None | flip (self) |
| bool | reset (self, ConstPreciseVertCoords a, ConstPreciseVertCoords b, ConstPreciseVertCoords c, int rSq) |
| 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) | |
| Public Member Functions inherited from mrmeshpy.InSphereTester_int | |
| None | __init__ (self) |
| None | __init__ (self, ConstInSphereTester_int arg0) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Static Public Member Functions inherited from mrmeshpy.InSphereTester_int | |
| None | __init__ (*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
|
static |
| None mrmeshpy.InSphereTesterSoS.__init__ | ( | self | ) |
| None mrmeshpy.InSphereTesterSoS.__init__ | ( | self, | |
| ConstInSphereTesterSoS | arg0 ) |
Implicit copy constructor.
| InSphereTesterSoS mrmeshpy.InSphereTesterSoS.assign | ( | self, | |
| ConstInSphereTesterSoS | other ) |
Reimplemented from mrmeshpy.InSphereTester_int.
Reimplemented in mrmeshpy.FastInSphereTesterSoS.
| None mrmeshpy.InSphereTesterSoS.flip | ( | self | ) |
swaps the points b and c together with their ids, which selects the mirror sphere as in the base class, and gives exactly the state of reset( a, c, b, rSq ); this hides the id-less flip of the base class, which would leave stale ids
Reimplemented from mrmeshpy.InSphereTester_int.
Reimplemented in mrmeshpy.FastInSphereTesterSoS.
| bool mrmeshpy.InSphereTesterSoS.reset | ( | self, | |
| ConstPreciseVertCoords | a, | ||
| ConstPreciseVertCoords | b, | ||
| ConstPreciseVertCoords | c, | ||
| int | rSq ) |
prepares the tester for the sphere of radius sqrt(rSq) passing via points a.pt, b.pt, c.pt, with the center located on the positive side of their plane (in the half-space pointed at by cross( b.pt - a.pt, c.pt - a.pt ) from the plane), remembering the ids for the queries; returns false if no such sphere exists for the symbolically perturbed points (see the simulation-of-simplicity inSphere above): in particular, coincident and collinear triangle points are resolved by the perturbation here, and rSq exactly equal to the squared circumradius gives false whenever the perturbation of these ids breaks the existence; this hides the id-less reset of the base class, which would leave stale ids
Reimplemented from mrmeshpy.InSphereTester_int.
Reimplemented in mrmeshpy.FastInSphereTesterSoS.