ZIntCuboidFaceArray ZIntCuboidArray::getSideBorderFace() const { ZIntCuboidFaceArray borderFaceArray = getBorderFace(); ZIntCuboidFaceArray sideBorderFaceArray; for (ZIntCuboidFaceArray::const_iterator iter = borderFaceArray.begin(); iter != borderFaceArray.end(); ++iter) { const ZIntCuboidFace &face = *iter; if (face.getAxis() != NeuTube::Z_AXIS) { sideBorderFaceArray.append(face); } } return sideBorderFaceArray; }
ZIntCuboidFaceArray ZIntCuboidArray::getBorderFace() const { if (isDeprecated(BORDER_FACE)) { ZIntCuboidFaceArray faceArray; for (ZIntCuboidArray::const_iterator iter = begin(); iter != end(); ++iter) { faceArray.append(&(*iter)); } ZIntCuboidFaceArray cropFaceArray = faceArray; cropFaceArray.moveBackward(1); m_borderFace = faceArray.cropBy(cropFaceArray); } return m_borderFace; }