[V8i C++] Point Cloud API selections not lined up properly?

I am trying to use the following line

Bentley::Ustn::PointCloud::PointCloudDataQueryPtr query = 
Bentley::Ustn::PointCloud::IPointCloudDataQuery::CreateOrientedBoxQuery (eeh, OrientedBox);

The oriented box I am using is where it is supposed to be...(Notice the green and blue
 lines.. Those are the X and Y vectors used for the oriented box... Z is a very large +- vector
... Origin is defined at the point where the green and blue vectors meet...)
The red points are the points that are being selected by the orientedbox that I am using..



	pSP->UnselectAll();

if(showSelection){
pSP->SetSelectMode(PointCloudSelectPoints::Select);
pSP->SetDensityMode(PointCloudSelectPoints::FullDensity);
pSP->SetDrawColor(rgbSelection);
pSP->ByOrientedBox(OrientedBox);
}

Sometimes it will pick it out OK,  mostly not...

Parents Reply Children
No Data