// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
-
std::vector<double> lstNormal;
std::vector<double> refPoint = bbGetInputPoint();
} // if iBack
bbSetOutputPointId( iBack );
bbSetOutputNormal( lstNormal );
+ std::vector<double> lstPointOut;
+ if (iBack>=0)
+ {
+ points->GetPoint(iBack,p);
+ lstPointOut.push_back(p[0]);
+ lstPointOut.push_back(p[1]);
+ lstPointOut.push_back(p[2]);
+ }// if iBack
+ bbSetOutputPointOut( lstPointOut );
+ bbSignalOutputModification();
} else {
bbSetOutputPointId( -1 );
+ lstNormal.push_back(0);
+ lstNormal.push_back(1);
+ lstNormal.push_back(2);
bbSetOutputNormal( lstNormal );
+ bbSetOutputPointOut( bbGetInputPoint() );
+ bbSignalOutputModification();
}
}
//=====
// Here we initialize the input 'In' to 0
bbSetInputActive(false);
bbSetInputMesh(NULL);
- bbSetInputBorder(10);
+ bbSetInputBorder(5);
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)