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

Function IntersectsSphere2

Common/DataModel/vtkBoundingBox.h:233–236  ·  view source on GitHub ↗

* Intersect this box with a sphere. This alternative method uses * the sphere radius**2. */

Source from the content-addressed store, hash-verified

231 * the sphere radius**2.
232 */
233 bool IntersectsSphere2(double center[3], double radius2) const
234 {
235 return vtkBoundingBox::IntersectsSphere(this->MinPnt, this->MaxPnt, center, radius2);
236 }
237
238 /**
239 * Performant method to determine if box if fully inside a sphere. The

Callers

nothing calls this directly

Calls 1

IntersectsSphereFunction · 0.85

Tested by

no test coverage detected