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) |
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.
| meshlib.InSphereResult.InSphereResult | ( | int | value | ) |
| boolean meshlib.InSphereResult.equals | ( | java.lang.Object | other | ) |
| int meshlib.InSphereResult.hashCode | ( | ) |
|
static |
Returns the named constant with this value, or a new instance if there's none.
| java.lang.String meshlib.InSphereResult.toString | ( | ) |
|
static |
the sphere exists, and the point D is strictly inside
|
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
|
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
|
static |
the sphere exists, and the point D is strictly outside
| final int meshlib.InSphereResult.value |