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

Method GetNumberOfIds

Common/DataModel/vtkStaticPointLocatorPrivate.h:215–218  ·  view source on GitHub ↗

The number of point ids in a bucket is determined by computing the difference between the offsets into the sorted points array.

Source from the content-addressed store, hash-verified

213 // The number of point ids in a bucket is determined by computing the
214 // difference between the offsets into the sorted points array.
215 vtkIdType GetNumberOfIds(vtkIdType bucketNum)
216 {
217 return (this->Offsets[bucketNum + 1] - this->Offsets[bucketNum]);
218 }
219
220 // Given a bucket number, return the point ids in that bucket.
221 const vtkLocatorTuple<TIds>* GetIds(vtkIdType bucketNum)

Callers 12

FindClosestPointMethod · 0.95
FindClosestNPointsMethod · 0.95
IntersectWithLineMethod · 0.95
GetOverlappingBucketsMethod · 0.95
GetIdsMethod · 0.95
operator()Method · 0.45
MergePointMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected