59 return os <<
"INSIDE";
61 return os <<
"OUTSIDE";
SurfaceSide unionSideness(SurfaceSide a, SurfaceSide b)
Combine two classifications for a union: INSIDE if either is INSIDE, otherwise ON if either is ON,...
std::ostream & operator<<(std::ostream &os, const SurfaceSide &side)
Stream a human-readable name for a SurfaceSide value.
SurfaceSide
The side of a closed surface where a query point is located.
@ INSIDE
The point lies strictly in the interior of the closed surface.
@ ON
The point lies on the surface itself, within tolerance.
@ OUTSIDE
The point lies strictly in the exterior of the closed surface.
SurfaceSide signedValueSideness(Real phi, Real tolerance, bool inside_is_negative)
Classify a signed level-set value into a SurfaceSide.