I am trying to compile the files below. The `PosLin.cpp` contains the `SurTriAUTO` and `getSphere` functions below. Although they are similar, I am not getting the same results. Is it because the "namespace TPiecesNS" causes them to be different?
PosExCode PS::computation(Geo* geo, POpinion* opinion, PositionRotation* matterboundary)
{
TPiecesNS::GeoPar* perform = new TPiecesNS::GeoPar();
TPiecesNS::TPieces* boundary = new TPiecesNS::Sphere();
boundary->sphere = perform->SurTriAUTO(boundary, geo,0);
boundary->sphereDark[0] = perform->SurTriAUTO(boundary, geo,0); //if I comment this line out and un-comment the line below, they do not produce the same output
//boundary->sphereDark[0] = perform->getSphere(geo,0);
}