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

Method ComputeDistanceToInterfaceA

Filters/HyperTree/vtkHyperTreeGridGeometryImpl.cxx:186–192  ·  view source on GitHub ↗

----------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

184
185//----------------------------------------------------------------------------------------------
186double vtkHyperTreeGridGeometryImpl::ComputeDistanceToInterfaceA(const double* xyz) const
187{
188 // Compute the value of the distance from a point to the interface plane A.
189 double val = this->CellIntercepts[0] + this->CellNormals[0] * xyz[0] +
190 this->CellNormals[1] * xyz[1] + this->CellNormals[2] * xyz[2];
191 return val;
192}
193
194//----------------------------------------------------------------------------------------------
195double vtkHyperTreeGridGeometryImpl::ComputeDistanceToInterfaceB(const double* xyz) const

Callers 3

SetXYZMethod · 0.80
SetIntersectXYZMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected