+
+ if (bbGetInputPoints()==true)
+ {
+ std::vector<double> lstIds;
+ std::vector<double> lstPointsX;
+ std::vector<double> lstPointsY;
+ std::vector<double> lstPointsZ;
+ double p1[3];
+ double p2[3];
+ long int i,size= bbGetInputIn()->GetNumberOfPoints();
+ for (i=0;i<size;i++)
+ {
+ if (bbGetInputIdsPoints()==true)
+ {
+ lstIds.push_back(i);
+ } // IdsPoints
+ if (bbGetInputTransform()!=NULL)
+ {
+ bbGetInputIn()->GetPoint(i,p1);
+ bbGetInputTransform()->TransformPoint(p1,p2);
+ } else {
+ bbGetInputIn()->GetPoint(i,p2);
+ }
+ lstPointsX.push_back(p2[0]);
+ lstPointsY.push_back(p2[1]);
+ lstPointsZ.push_back(p2[2]);
+ } // for i
+ bbSetOutputLstIdsPoints(lstIds);
+ bbSetOutputLstPointsX(lstPointsX);
+ bbSetOutputLstPointsY(lstPointsY);
+ bbSetOutputLstPointsZ(lstPointsZ);
+ } // Points