Commit 769f50b3 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

correct a mistake introducde yesterday.

parent 029e6a91
Pipeline #267106 failed with stages
in 79 minutes and 35 seconds
......@@ -1376,7 +1376,7 @@ public interface IMesh<V extends IVertex, E extends IHalfEdge, F extends IFace>
V v1 = getVertex(e1);
V v2 = getVertex(e2);
V v3 = getVertex(e3);
return GeometryUtils.getTriangleMidpoint(getX(v1), getX(v1), getX(v2), getY(v2), getX(v3), getY(v3));
return GeometryUtils.getTriangleMidpoint(getX(v1), getY(v1), getX(v2), getY(v2), getX(v3), getY(v3));
......@@ -3015,8 +3015,8 @@ public interface ITriConnectivity<V extends IVertex, E extends IHalfEdge, F exte
if(!getMesh().isBoundary(face)) {
E e1 = getMesh().getEdge(face);
V v1 = getMesh().getVertex(e1);
V v2 = getMesh().getTwinVertex(e1);
V v3 = getMesh().getVertex(getMesh().getNext(e1));
V v3 = getMesh().getTwinVertex(e1);
V v2 = getMesh().getVertex(getMesh().getNext(e1));
double x1 = getMesh().getX(v1);
double y1 = getMesh().getY(v1);
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