nodes.reverse();
}
else if ( n != nodes.begin() )
- nodes.splice( nodes.end(), nodes, nodes.begin(), --n );
+ nodes.splice( nodes.end(), nodes, nodes.begin(), n );
}
list< gp_XYZ > xyzList;
myOrderedNodes.resize( theFace->NbNodes() );
return setErrorCode( ERR_APPL_BAD_NB_VERTICES );
}
+ myXYZ.clear();
+ myElemXYZIDs.clear();
+ myXYZIdToNodeMap.clear();
+ myElements.clear();
+
myXYZ.resize( myPoints.size() * theFaces.size(), undefinedXYZ() );
myElements.reserve( theFaces.size() );
- myElemXYZIDs.clear();
// to find point index
map< TPoint*, int > pointIndex;
return setErrorCode( ERR_APPL_BAD_NB_VERTICES );
}
+ myXYZ.clear();
+ myElemXYZIDs.clear();
+ myXYZIdToNodeMap.clear();
+ myElements.clear();
+
myXYZ.resize( myPoints.size() * theVolumes.size(), undefinedXYZ() );
myElements.reserve( theVolumes.size() );
- myElemXYZIDs.clear();
// to find point index
map< TPoint*, int > pointIndex;