MeshLib C# Docs
Loading...
Searching...
No Matches
MRInSphere.cs File Reference

Classes

class  MR
class  MR.Const_InSphereTester_Float
 accelerates testing of many query points against one sphere given by the same three points and radius, pre-computing all the point-independent quantities once; the primary template works for floating-point T with the same case analysis as the precise specialization for int below, so the answers for the query points near the sphere's surface are subject to rounding errors, and OnSphere is returned only on the exact equality in the comparisons; the products inside have degree 16 in coordinates, so to avoid overflows any difference of two given points' coordinates as well as sqrt(rSq) must be below ~100 for T=float and ~1e18 for T=double; the one-call inSphere functions are implemented via this class Generated from class MR::InSphereTester<float>. This is the const half of the class. More...
class  MR.InSphereTester_Float
 accelerates testing of many query points against one sphere given by the same three points and radius, pre-computing all the point-independent quantities once; the primary template works for floating-point T with the same case analysis as the precise specialization for int below, so the answers for the query points near the sphere's surface are subject to rounding errors, and OnSphere is returned only on the exact equality in the comparisons; the products inside have degree 16 in coordinates, so to avoid overflows any difference of two given points' coordinates as well as sqrt(rSq) must be below ~100 for T=float and ~1e18 for T=double; the one-call inSphere functions are implemented via this class Generated from class MR::InSphereTester<float>. This is the non-const half of the class. More...
class  MR.Const_InSphereTester_Double
 accelerates testing of many query points against one sphere given by the same three points and radius, pre-computing all the point-independent quantities once; the primary template works for floating-point T with the same case analysis as the precise specialization for int below, so the answers for the query points near the sphere's surface are subject to rounding errors, and OnSphere is returned only on the exact equality in the comparisons; the products inside have degree 16 in coordinates, so to avoid overflows any difference of two given points' coordinates as well as sqrt(rSq) must be below ~100 for T=float and ~1e18 for T=double; the one-call inSphere functions are implemented via this class Generated from class MR::InSphereTester<double>. This is the const half of the class. More...
class  MR.InSphereTester_Double
 accelerates testing of many query points against one sphere given by the same three points and radius, pre-computing all the point-independent quantities once; the primary template works for floating-point T with the same case analysis as the precise specialization for int below, so the answers for the query points near the sphere's surface are subject to rounding errors, and OnSphere is returned only on the exact equality in the comparisons; the products inside have degree 16 in coordinates, so to avoid overflows any difference of two given points' coordinates as well as sqrt(rSq) must be below ~100 for T=float and ~1e18 for T=double; the one-call inSphere functions are implemented via this class Generated from class MR::InSphereTester<double>. This is the non-const half of the class. More...
class  MR.Const_InSphereTester_Int
 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 Generated from class MR::InSphereTester<int>. Derived classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR.FastInSphereTesterSoS This is the const half of the class. More...
class  MR.InSphereTester_Int
 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 Generated from class MR::InSphereTester<int>. Derived classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR.FastInSphereTesterSoS This is the non-const half of the class. More...
class  MR.Const_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 Generated from class MR.InSphereTesterSoS. Base classes: Direct: (non-virtual) MR::InSphereTester&lt;int&gt; Derived classes: Direct: (non-virtual) MR.FastInSphereTesterSoS This is the const half of the class. More...
class  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 Generated from class MR.InSphereTesterSoS. Base classes: Direct: (non-virtual) MR::InSphereTester&lt;int&gt; Derived classes: Direct: (non-virtual) MR.FastInSphereTesterSoS This is the non-const half of the class. More...
class  MR.Const_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 Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester&lt;int&gt; This is the const half of the class. More...
class  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 Generated from class MR.FastInSphereTesterSoS. Base classes: Direct: (non-virtual) MR.InSphereTesterSoS Indirect: (non-virtual) MR::InSphereTester&lt;int&gt; This is the non-const half of the class. More...