
Tue, 11/04/2008 - 01:52
Forums:
Bnd_Box bounds;
BRepBndLib::Add(myShape, bounds);
bounds.SetGap(0.0);
Standard_Real fXMin, fYMin, fZMin, fXMax, fYMax, fZMax;
m_boxBound.Get(fXMin, fYMin, fZMin, fXMax, fYMax, fZMax)
when this part of the code is added to the program it says
error C2653: 'BRepBndLib' : is not a class or namespace name
error C3861: 'Add': identifier not found
error C2065: 'm_boxBound' : undeclared identifier
error C2228: left of '.Get' must have class/struct/union
1> type is ''unknown-type''
How can we remove these errors? Do we need to add any header file related to BRepBndLib?
Tue, 11/04/2008 - 14:27
tryed #include "BRepBndLib.hxx" ?
or "Bnd_Box.hxx" ?
Wed, 11/05/2008 - 01:57
thanks Thomas!!
that worked!!