diff --git a/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTableRow.java b/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTableRow.java index 329451838b46f164e7125cf429ab1773cddb3061..c0cf1b15022b8dd66e41fffa88b5585c232997f0 100644 --- a/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTableRow.java +++ b/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTableRow.java @@ -1,25 +1,24 @@ package cz.fidentis.analyst.mesh.core; -import sun.security.provider.certpath.Vertex; - /** * single row in corner table */ public class CornerTableRow { private int oppositeCornerIndex; - private Vertex vertex; + private int vertexIndex; - public CornerTableRow(Vertex vertex, int oppositeCornerIndex) { - this.vertex = vertex; + public CornerTableRow(int vertexIndex, int oppositeCornerIndex) { + this.vertexIndex = vertexIndex; this.oppositeCornerIndex = oppositeCornerIndex; } /** * returns vertex of corner + * * @return vertex */ - public Vertex getVertex() { - return vertex; + public int getVertexIndex() { + return vertexIndex; } /** diff --git a/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/MeshFacet.java b/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/MeshFacet.java index ec0fb3992ce70c399dbb0cf2ba1e0edbc3ff248d..a08aec87542a5f85218b76949016f65461628120 100644 --- a/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/MeshFacet.java +++ b/MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/MeshFacet.java @@ -15,5 +15,9 @@ public class MeshFacet { public MeshPoint GetVertex(int c) { return vertexes.get(c); } // vertex of c + + public void addVertex(MeshPoint point){ + vertexes.add(point); + } }