Good day to everyone on that forum,
I most recently encountered an unexplainable problem:
I tried to add a Polygon to a Compound. here is the code:
myBuild.add(myComp,myPolygon.Shape()); // this instruction causes compiler-problems
The gcc 2.95.3 compiler then says:
no matching function for call to `BRep_Builder::add (TopoDS_Compound &, const TopoDS_Shape &)'
A quick look at the classbrowser shows, that there is no add-method within the BRep_Builder-class but rather higher inside the inheritance tree TopoDS_Build, which in turn does have an add-method that is defined like this:
void TopoDS_Builder::Add(TopoDS_Shape& S,const TopoDS_Shape& C) const
This should work, doesn`t it ? Why not ?
Am I missing something, or is it an undocumented bug ??
Sincerely and cluelessly