Commit cc11ac58 authored by Kirill Terekhov's avatar Kirill Terekhov

Correct wedge/prism nodes order

parent 031bc550
......@@ -152,6 +152,9 @@ namespace INMOST
case Element::MultiLine:
case Element::Polygon:
case Element::Tet:
case Element::Hex:
case Element::Pyramid:
case Element::Prism:
{
ElementArray<Node> nodes = it->getNodes();
values.push_back(static_cast<integer>(nodes.size()));
......@@ -159,6 +162,7 @@ namespace INMOST
values.push_back(jt->IntegerDF(set_id));
break;
}
/*
case Element::Prism:
{
ElementArray<Node> nodes = it->getNodes();
......@@ -172,6 +176,8 @@ namespace INMOST
values.push_back(nodes[4].IntegerDF(set_id));
break;
}
*/
/*
case Element::Hex:
{
ElementArray<Node> nodes = it->getNodes();
......@@ -199,6 +205,7 @@ namespace INMOST
values.push_back(nodes[4].IntegerDF(set_id));
break;
}
*/
case Element::Polyhedron:
case Element::MultiPolygon:
{
......
......@@ -1365,9 +1365,9 @@ namespace INMOST
}
ElementArray<Node> verts = face->getNodes();
if( face->BackCell() == c )
ret.insert(ret.end(),verts.begin(),verts.end());
else
ret.insert(ret.end(),verts.rbegin(),verts.rend());
else
ret.insert(ret.end(),verts.begin(),verts.end());
ElementArray<Edge> c_edges = c->getEdges();
ElementArray<Edge> f_edges = face->getEdges();
c_edges.SetPrivateMarker(cemrk);
......
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