MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::InSphereResult Struct Reference
Inheritance diagram for meshlib::InSphereResult:

Static Public Attributes

static const meshlib::InSphereResult NoSphere
static const meshlib::InSphereResult Outside
 the sphere exists, and the point D is strictly outside
static const meshlib::InSphereResult OnSphere
static const meshlib::InSphereResult Inside
 the sphere exists, and the point D is strictly inside

Detailed Description

the result of inSphere predicates

Generated from enum MR::InSphereResult. The constants are associated constants of this type.

Member Data Documentation

◆ Inside

const meshlib::InSphereResult meshlib::InSphereResult::Inside
static

the sphere exists, and the point D is strictly inside

◆ NoSphere

const meshlib::InSphereResult meshlib::InSphereResult::NoSphere
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

const meshlib::InSphereResult meshlib::InSphereResult::OnSphere
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

const meshlib::InSphereResult meshlib::InSphereResult::Outside
static

the sphere exists, and the point D is strictly outside


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