MeshLib C# Docs
Loading...
Searching...
No Matches

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...

Inheritance diagram for MR.InSphereTesterSoS:

Public Member Functions

unsafe InSphereTesterSoS ()
 Constructs an empty (default-constructed) instance.
unsafe InSphereTesterSoS (MR.Const_InSphereTesterSoS _other)
 Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.
 InSphereTesterSoS (InSphereTesterSoS _other)
 Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.
unsafe MR.InSphereTesterSoS assign (MR.Const_InSphereTesterSoS _other)
 Generated from method MR::InSphereTesterSoS::operator=.
unsafe bool reset (MR.Const_PreciseVertCoords a, MR.Const_PreciseVertCoords b, MR.Const_PreciseVertCoords c, long 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 Generated from method MR.InSphereTesterSoS.reset.
unsafe void flip ()
 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 Generated from method MR.InSphereTesterSoS.flip.
Public Member Functions inherited from MR.Const_InSphereTesterSoS
virtual void Dispose ()
unsafe Const_InSphereTesterSoS ()
 Constructs an empty (default-constructed) instance.
unsafe Const_InSphereTesterSoS (MR.Const_InSphereTesterSoS _other)
 Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.
 Const_InSphereTesterSoS (InSphereTesterSoS _other)
 Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.
unsafe MR.InSphereResult call (MR.Const_PreciseVertCoords d)
 returns the position of the point d.pt 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, using the ids of d and of the points given in reset() (never returns OnSphere or NoSphere); shall be called only after reset() returned true, and all four ids must be distinct Generated from method MR::InSphereTesterSoS::operator().
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.InSphereTesterSoS.degenerateTriangle.

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ InSphereTesterSoS() [1/3]

unsafe MR.InSphereTesterSoS.InSphereTesterSoS ( )
inline

Constructs an empty (default-constructed) instance.

◆ InSphereTesterSoS() [2/3]

unsafe MR.InSphereTesterSoS.InSphereTesterSoS ( MR.Const_InSphereTesterSoS _other)
inline

Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.

◆ InSphereTesterSoS() [3/3]

MR.InSphereTesterSoS.InSphereTesterSoS ( InSphereTesterSoS _other)
inline

Generated from constructor MR.InSphereTesterSoS.InSphereTesterSoS.

Member Function Documentation

◆ assign()

unsafe MR.InSphereTesterSoS MR.InSphereTesterSoS.assign ( MR.Const_InSphereTesterSoS _other)
inline

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

◆ flip()

unsafe void MR.InSphereTesterSoS.flip ( )
inline

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

◆ operator MR.InSphereTester_Int()

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

◆ reset()

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

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


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