Model_ResultConstruction::Model_ResultConstruction()
{
- myIsDisabled = true; // by default it is not initialized and false to be after created
myIsInHistory = true;
myIsInfinite = false;
myFacesUpToDate = false;
- setIsConcealed(false);
}
void Model_ResultConstruction::setIsInHistory(const bool isInHistory)
std::list<std::shared_ptr<GeomAPI_Shape> >::iterator aFIter = aFaces.begin();
for(; aFIter != aFaces.end(); aFIter++) {
std::shared_ptr<GeomAPI_Face> aFace(new GeomAPI_Face(*aFIter));
- if (aFace.get())
+ if (aFace.get() && !aFace->isNull())
myFaces.push_back(aFace);
}
}
{
myIsInfinite = theInfinite;
}
+
+void Model_ResultConstruction::setIsConcealed(const bool theValue)
+{
+ // do nothing: the construction element is never consealed
+}