virtual SMDSAbs_ElementType GetType() const;
virtual void SetMesh( const SMDS_Mesh* theMesh );
- virtual bool IsSatisfy( smIdType theElementId );
+ virtual bool IsSatisfy( long theElementId );
//const std::set<long>& GetDomainIDs() const { return myOkIDs; }
TRange & lastRange = ranges.back();
if ( lastRange.shapeID != shapeID ||
lastRange.toID != elemID )
- ranges.push_back( TRange{ shapeID, elemID, elemID + 1 });
+ ranges.push_back( TRange{ shapeID, FromIdType<int>(elemID), FromIdType<int>(elemID + 1) });
else
lastRange.toID = elemID + 1;