Commit bc0b1d19 authored by Mike Kremer's avatar Mike Kremer

Removed check for minimum number of incident faces per cell.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@134 66977474-1d4b-4f09-8fe9-267525286df2
parent 34cbfab4
......@@ -207,12 +207,6 @@ FaceHandle TopologyKernel::add_face(const std::vector<VertexHandle>& _vertices)
/// Add cell via incident halffaces
CellHandle TopologyKernel::add_cell(const std::vector<HalfFaceHandle>& _halffaces, bool _topologyCheck) {
// Test if _halffaces contains at least four halffaces
if(_halffaces.size() < 4u) {
std::cerr << "A cell must consist of at least four faces!" << std::endl;
return InvalidCellHandle;
}
// Test if halffaces have valid indices
for(std::vector<HalfFaceHandle>::const_iterator it = _halffaces.begin();
it != _halffaces.end(); ++it) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment