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

Method GetDistance2ToBoundary

Common/DataModel/vtkKdNode.cxx:240–243  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Distance (squared) from any point anywhere to the boundary of spatial region

Source from the content-addressed store, hash-verified

238// Distance (squared) from any point anywhere to the boundary of spatial region
239//
240double vtkKdNode::GetDistance2ToBoundary(double x, double y, double z, int useDataBounds = 0)
241{
242 return this->GetDistance2ToBoundaryPrivate(x, y, z, nullptr, 0, useDataBounds);
243}
244
245//------------------------------------------------------------------------------
246// Distance (squared) from any point anywhere to the boundary of spatial

Callers 10

IntersectsSphere2Method · 0.95
FindClosestPointMethod · 0.45
FindClosestNPointsMethod · 0.45
FindClosestPointMethod · 0.45
FindClosestNPointsMethod · 0.45
FindClosestPointMethod · 0.45
FindClosestNPointsMethod · 0.45

Calls 1

Tested by

no test coverage detected