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

Method GetNumberOfIds

Common/DataModel/vtkStaticPointLocator2DPrivate.h:239–242  ·  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

237 // The number of point ids in a bucket is determined by computing the
238 // difference between the offsets into the sorted points array.
239 vtkIdType GetNumberOfIds(vtkIdType bucketNum)
240 {
241 return (this->Offsets[bucketNum + 1] - this->Offsets[bucketNum]);
242 }
243
244 // Given a bucket number, return the point ids in that bucket.
245 const vtkLocatorTuple<TIds>* GetIds(vtkIdType bucketNum)

Callers 11

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

Calls

no outgoing calls

Tested by

no test coverage detected