Skip to content
Snippets Groups Projects
Commit 8a33b87c authored by Matej Lukes's avatar Matej Lukes
Browse files

reference to vertex in corner table row changed to index in array of vertexes in meshFacet

parent efee5339
No related branches found
No related tags found
No related merge requests found
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;
}
/**
......
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment