MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.FastInSphereTesterSoS Class Reference
Inheritance diagram for mrmeshpy.FastInSphereTesterSoS:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstFastInSphereTesterSoS arg0)
FastInSphereTesterSoS assign (self, ConstFastInSphereTesterSoS other)
None flip (self)
bool reset (self, ConstPreciseVertCoords a, ConstPreciseVertCoords b, ConstPreciseVertCoords c, int rSq)
Public Member Functions inherited from mrmeshpy.ConstFastInSphereTesterSoS
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)
Public Member Functions inherited from mrmeshpy.InSphereTesterSoS
None __init__ (self)
None __init__ (self, ConstInSphereTesterSoS arg0)
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.InSphereTesterSoS
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.InSphereTester_int
None __init__ (*args, **kwargs)

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.FastInSphereTesterSoS.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.FastInSphereTesterSoS.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.FastInSphereTesterSoS.__init__ ( self,
ConstFastInSphereTesterSoS arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

FastInSphereTesterSoS mrmeshpy.FastInSphereTesterSoS.assign ( self,
ConstFastInSphereTesterSoS other )

Reimplemented from mrmeshpy.InSphereTesterSoS.

◆ flip()

None mrmeshpy.FastInSphereTesterSoS.flip ( self)
selects the mirror sphere as the base class does, moving the floating-point center as well;
this hides the flip of the base class, which would leave the center on the wrong side

Reimplemented from mrmeshpy.InSphereTesterSoS.

◆ reset()

bool mrmeshpy.FastInSphereTesterSoS.reset ( self,
ConstPreciseVertCoords a,
ConstPreciseVertCoords b,
ConstPreciseVertCoords c,
int rSq )
prepares the tester as InSphereTesterSoS::reset does, and additionally computes the
floating-point center of the sphere and the tolerance of the tests below;
this hides the reset of the base class, which would leave the center stale

Reimplemented from mrmeshpy.InSphereTesterSoS.


The documentation for this class was generated from the following file: