MeshLib Java Docs
Loading...
Searching...
No Matches

Public Member Functions

 InSphereResult (int value)
boolean equals (java.lang.Object other)
int hashCode ()
java.lang.String toString ()

Static Public Member Functions

static InSphereResult of (int value)

Public Attributes

final int value

Static Public Attributes

static final InSphereResult NoSphere = new InSphereResult(0)
static final InSphereResult Outside = new InSphereResult(1)
static final InSphereResult OnSphere = new InSphereResult(2)
static final InSphereResult Inside = new InSphereResult(3)

Detailed Description

the result of inSphere predicates

The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.

Constructor & Destructor Documentation

◆ InSphereResult()

meshlib.InSphereResult.InSphereResult ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.InSphereResult.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.InSphereResult.hashCode ( )

◆ of()

InSphereResult meshlib.InSphereResult.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.InSphereResult.toString ( )

Member Data Documentation

◆ Inside

final InSphereResult meshlib.InSphereResult.Inside = new InSphereResult(3)
static

the sphere exists, and the point D is strictly inside

◆ NoSphere

final InSphereResult meshlib.InSphereResult.NoSphere = new InSphereResult(0)
static

the sphere is not defined: the points A, B, C are collinear or coincident, or rSq is less than the squared circumradius of triangle ABC

◆ OnSphere

final InSphereResult meshlib.InSphereResult.OnSphere = new InSphereResult(2)
static

the sphere exists, and the point D is exactly on it; never returned by the simulation-of-simplicity overload, which resolves such ties into Inside or Outside

◆ Outside

final InSphereResult meshlib.InSphereResult.Outside = new InSphereResult(1)
static

the sphere exists, and the point D is strictly outside

◆ value

final int meshlib.InSphereResult.value

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