------------------------------------------------------------------------------ Given a bin/bucket number, return an array of point ids in the bucket. Use this method in conjunction with GetNumberOfPointsInBucket().
| 1925 | // Given a bin/bucket number, return an array of point ids in the bucket. Use |
| 1926 | // this method in conjunction with GetNumberOfPointsInBucket(). |
| 1927 | void 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. |