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

Method GetBucketIds

Common/DataModel/vtkStaticPointLocator2D.cxx:1927–1937  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Given a bin/bucket number, return an array of point ids in the bucket. Use this method in conjunction with GetNumberOfPointsInBucket().

Source from the content-addressed store, hash-verified

1925// Given a bin/bucket number, return an array of point ids in the bucket. Use
1926// this method in conjunction with GetNumberOfPointsInBucket().
1927void vtkStaticPointLocator2D::GetBucketIds(vtkIdType bNum, vtkIdList* bList)
1928{
1929 if (this->LargeIds)
1930 {
1931 static_cast<BucketList2D<vtkIdType>*>(this->Buckets)->GetIds(bNum, bList);
1932 }
1933 else
1934 {
1935 static_cast<BucketList2D<int>*>(this->Buckets)->GetIds(bNum, bList);
1936 }
1937}
1938
1939//------------------------------------------------------------------------------
1940// Given a bucket, return the ids in the bucket.

Callers

nothing calls this directly

Calls 1

GetIdsMethod · 0.45

Tested by

no test coverage detected