MeshLib C# Docs
Loading...
Searching...
No Matches
MR.FastInSphereTesterSoS Class Reference

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 Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester<int> This is the non-const half of the class. More...

Inheritance diagram for MR.FastInSphereTesterSoS:

Public Member Functions

unsafe FastInSphereTesterSoS ()
 Constructs an empty (default-constructed) instance.
unsafe FastInSphereTesterSoS (MR.Const_FastInSphereTesterSoS _other)
 Generated from constructor MR.FastInSphereTesterSoS.FastInSphereTesterSoS.
 FastInSphereTesterSoS (FastInSphereTesterSoS _other)
 Generated from constructor MR.FastInSphereTesterSoS.FastInSphereTesterSoS.
unsafe MR.FastInSphereTesterSoS assign (MR.Const_FastInSphereTesterSoS _other)
 Generated from method MR::FastInSphereTesterSoS::operator=.
unsafe bool reset (MR.Const_PreciseVertCoords a, MR.Const_PreciseVertCoords b, MR.Const_PreciseVertCoords c, long 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 Generated from method MR.FastInSphereTesterSoS.reset.
unsafe void flip ()
 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 Generated from method MR.FastInSphereTesterSoS.flip.
Public Member Functions inherited from MR.Const_FastInSphereTesterSoS
virtual void Dispose ()
unsafe Const_FastInSphereTesterSoS ()
 Constructs an empty (default-constructed) instance.
unsafe Const_FastInSphereTesterSoS (MR.Const_FastInSphereTesterSoS _other)
 Generated from constructor MR.FastInSphereTesterSoS.FastInSphereTesterSoS.
 Const_FastInSphereTesterSoS (FastInSphereTesterSoS _other)
 Generated from constructor MR.FastInSphereTesterSoS.FastInSphereTesterSoS.
unsafe MR.InSphereResult call (MR.Const_PreciseVertCoords 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 Generated from method MR::FastInSphereTesterSoS::operator().
unsafe bool outsideBothSpheres (in MR.Vector3i 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) Generated from method MR.FastInSphereTesterSoS.outsideBothSpheres.
unsafe bool degenerateTriangle ()
 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 Generated from method MR.FastInSphereTesterSoS.degenerateTriangle.

Static Public Member Functions

static unsafe implicit operator MR.InSphereTester_Int (FastInSphereTesterSoS self)
static unsafe implicit operator MR.InSphereTesterSoS (FastInSphereTesterSoS self)
Static Public Member Functions inherited from MR.Const_FastInSphereTesterSoS
static unsafe implicit operator MR.Const_InSphereTester_Int (Const_FastInSphereTesterSoS self)
static unsafe implicit operator MR.Const_InSphereTesterSoS (Const_FastInSphereTesterSoS self)

Additional Inherited Members

Protected Member Functions inherited from MR.Const_FastInSphereTesterSoS
virtual unsafe void Dispose (bool disposing)

Detailed Description

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 Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester<int> This is the non-const half of the class.

Constructor & Destructor Documentation

◆ FastInSphereTesterSoS() [1/3]

unsafe MR.FastInSphereTesterSoS.FastInSphereTesterSoS ( )
inline

Constructs an empty (default-constructed) instance.

◆ FastInSphereTesterSoS() [2/3]

unsafe MR.FastInSphereTesterSoS.FastInSphereTesterSoS ( MR.Const_FastInSphereTesterSoS _other)
inline

◆ FastInSphereTesterSoS() [3/3]

MR.FastInSphereTesterSoS.FastInSphereTesterSoS ( FastInSphereTesterSoS _other)
inline

Member Function Documentation

◆ assign()

unsafe MR.FastInSphereTesterSoS MR.FastInSphereTesterSoS.assign ( MR.Const_FastInSphereTesterSoS _other)
inline

Generated from method MR::FastInSphereTesterSoS::operator=.

◆ flip()

unsafe void MR.FastInSphereTesterSoS.flip ( )
inline

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 Generated from method MR.FastInSphereTesterSoS.flip.

◆ operator MR.InSphereTester_Int()

unsafe implicit MR.FastInSphereTesterSoS.operator MR.InSphereTester_Int ( FastInSphereTesterSoS self)
inlinestatic

◆ operator MR.InSphereTesterSoS()

unsafe implicit MR.FastInSphereTesterSoS.operator MR.InSphereTesterSoS ( FastInSphereTesterSoS self)
inlinestatic

◆ reset()

unsafe bool MR.FastInSphereTesterSoS.reset ( MR.Const_PreciseVertCoords a,
MR.Const_PreciseVertCoords b,
MR.Const_PreciseVertCoords c,
long rSq )
inline

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 Generated from method MR.FastInSphereTesterSoS.reset.


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