MCPcopy Create free account
hub / github.com/Kitware/VTK / OppSign

Function OppSign

Common/DataModel/vtkBoundingBox.cxx:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 return a > 0.0 ? 1.0 : (a < 0 ? -1.0 : 0.0);
26}
27inline bool OppSign(const double& a, const double& b)
28{
29 return (a <= 0 && b >= 0) || (a >= 0 && b <= 0);
30}
31}
32
33//------------------------------------------------------------------------------

Callers 1

IntersectPlaneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected