21 if (!inside_is_negative)
26 if (std::abs(phi) <= tolerance)
SurfaceSide unionSideness(SurfaceSide a, SurfaceSide b)
Combine two classifications for a union: INSIDE if either is INSIDE, otherwise ON if either is ON,...
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.