Public Member Functions | |
| InSphereResult | __call__ (self, Vector3i d) |
| InSphereResult | __call__ (self, std_array_PreciseVertCoords_4 vs) |
| None | __init__ (self) |
| None | __init__ (self, InSphereTester_int arg0) |
| bool | reset (self, Vector3i a, Vector3i b, Vector3i c, int rSq) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| InSphereTester_int | operator (*args, **kwargs) |
| InSphereTester_int | operator (*args, **kwargs) |
Generated from: MR::InSphereTester<int> Aliases: InSphereTesteri 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
|
static |
| None mrmeshpy.InSphereTester_int.__init__ | ( | self | ) |
| None mrmeshpy.InSphereTester_int.__init__ | ( | self, | |
| InSphereTester_int | arg0 ) |
Implicit copy constructor.
| InSphereResult mrmeshpy.InSphereTester_int.__call__ | ( | self, | |
| std_array_PreciseVertCoords_4 | vs ) |
returns the position of the point vs[3] 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 (never returns OnSphere or NoSphere); shall be called only after reset() returned true, and the points vs[0], vs[1], vs[2] must be the same a, b, c as in that reset()
| InSphereResult mrmeshpy.InSphereTester_int.__call__ | ( | self, | |
| Vector3i | d ) |
returns the position of the point d relative to the sphere (never NoSphere); shall be called only after reset() returned true
|
static |
|
static |
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