ImageStuff
Class GeometricObject
java.lang.Object
ImageStuff.GeometricObject
- Direct Known Subclasses:
- GenericEdge, Triangle
public abstract class GeometricObject
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_GEOM
public static final GeometricObject DEFAULT_GEOM
GeometricObject
public GeometricObject(Configuration configuration)
getArea
public abstract float getArea()
getAantalPunten
public abstract int getAantalPunten()
fundamentenwaardeOn
public abstract float fundamentenwaardeOn(Loc loc)
getHoekInDomain
public abstract float getHoekInDomain(int index)
getEdge
public abstract GenericEdge getEdge(int i)
isATriangle
public abstract boolean isATriangle()
isAnEdge
public abstract boolean isAnEdge()
getNbrOfEdges
public abstract int getNbrOfEdges()
hasChildren
public abstract boolean hasChildren()
getBestEncoderTesselation
public abstract AbstractTesselation getBestEncoderTesselation(SnijPixelStrategy snijPixelStrategy,
ConnectieCriterium connectieCriterium)
- geeft de besteTesselatie terug gemaakt door de Tesselator geschikt voor dat object
- Parameters:
snijPixelStrategy -
- Returns:
getTesselation
public abstract AbstractTesselation getTesselation(SnijPixelStrategy snijPixelStrategy,
java.lang.String choise)
getLocs
public java.util.HashSet<Loc> getLocs()
- Returns:
- Returns the locs.
contains
public boolean contains(Loc loc)
setChildren
public abstract void setChildren(java.util.ArrayList<GeometricObject> children)
getChildren
public abstract java.util.ArrayList<GeometricObject> getChildren()
getFunctiewaardeOn
public abstract float getFunctiewaardeOn(Loc l)
hasToBeConsidered
public abstract boolean hasToBeConsidered()
getError
public NormPakket getError(Image image)
- Parameters:
image -
- Returns:
- NormPakket
getVertex
public abstract Vertex getVertex(int i)
getOrderedVertices
public abstract java.util.ArrayList<Vertex> getOrderedVertices()
setGeometricProperty
public void setGeometricProperty(GeometricProperty gp)
- Parameters:
geometricProperty - The geometricProperty to set.
getGeometricProperty
public GeometricProperty getGeometricProperty()
- Returns:
- Returns the geometricProperty.
getAllLeaves
public java.util.ArrayList<GeometricObject> getAllLeaves()