00001 package commandline.NormalMeshAlgorithm; 00002 00003 import junit.framework.Assert; 00004 00005 import commandline.ImageStuff.util.Index_VertexCompound; 00006 00007 public class PiercingResult { 00008 private boolean found; 00009 private int aantalPixelsVanafMidden; 00010 private Index_VertexCompound index_VertexCompound; 00011 public PiercingResult(){ 00012 found=false; 00013 } 00014 00015 00016 public boolean isFound(){ 00017 return found; 00018 } 00019 00020 public void setIndex_VertexCompound(Index_VertexCompound index_VertexCompound,int aantalpixelsvanafmidden){ 00021 Assert.assertTrue(aantalpixelsvanafmidden>=0); 00022 this.aantalPixelsVanafMidden=aantalpixelsvanafmidden; 00023 this.found=true; 00024 this.index_VertexCompound=index_VertexCompound; 00025 } 00026 00027 00028 00029 public Index_VertexCompound getIndexVertexCompound(){ 00030 return index_VertexCompound; 00031 } 00032 00033 00034 public int getAantalPixelsVanafMidden() { 00035 return aantalPixelsVanafMidden; 00036 } 00037 } 00038
1.5.5