|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectImageStuff.GeometricObject
ImageStuff.GenericEdge
public class GenericEdge
| Field Summary | |
|---|---|
boolean |
test_offset_set
|
| Fields inherited from class ImageStuff.GeometricObject |
|---|
DEFAULT_GEOM |
| Constructor Summary | |
|---|---|
GenericEdge(Vertex a,
Vertex b,
Configuration configuration)
|
|
GenericEdge(Vertex a,
Vertex b,
int[][] lijn,
Configuration configuration)
|
|
| Method Summary | |
|---|---|
void |
commit(CommitDataStructure dataStructure)
Mesh Model |
boolean |
containsBothVertices(Vertex a,
Vertex b)
|
boolean |
containtsVertex(Vertex v)
|
Vertex |
doorsnede(GenericEdge andere)
|
float |
fundamentenwaardeOn(Loc loc)
|
int |
getAantalPunten()
|
float |
getArea()
|
float |
getAreaOfAdjacentTriangles()
|
Vertex |
getBegin()
|
GenericEdge |
getBeginChild()
|
AbstractTesselation |
getBestEncoderTesselation(SnijPixelStrategy snijPixelStrategy,
ConnectieCriterium connectieCriterium)
geeft de besteTesselatie terug gemaakt door de Tesselator geschikt voor dat object |
java.util.ArrayList<GeometricObject> |
getChildren()
|
GenericEdge |
getEdge(int i)
|
Vertex |
getEind()
|
GenericEdge |
getEindChild()
|
float |
getEuclidischeLengte()
|
float |
getEuclidischeLengtePerPixel()
|
float |
getFunctiewaardeOn(int index)
|
float |
getFunctiewaardeOn(Loc loc)
|
float |
getFundamentenWaardeOn(int index)
|
float |
getHoekInDomain(int index)
|
int |
getHoogte()
|
Triangle |
getLeftTriangle()
|
int |
getLengte()
|
int[][] |
getLijn()
|
Loc |
getLoc(int index)
|
int |
getMiddenIndex()
|
Loc |
getMidLoc()
|
int |
getNbrOfEdges()
|
float |
getNormalisationFactor()
|
int |
getNormalOffset()
|
float |
getNormalOffsetDistance()
|
java.util.ArrayList<Vertex> |
getOrderedVertices()
|
Triangle |
getRightTriangle()
|
float |
getShortestDomainDistance(Loc l)
http://www.geometryalgorithms.com/Archive/algorithm_0102/algorithm_0102.htm |
State |
getState()
|
AbstractTesselation |
getTesselation(SnijPixelStrategy snijPixelStrategy,
java.lang.String choise)
|
Vertex |
getVertex(int index)
|
int |
getVerticalOffset()
|
boolean |
hasChildren()
|
boolean |
hasCrossedContour()
this is an heuristic to see if this edge has crossed a contour |
boolean |
hasToBeConsidered()
|
boolean |
isAnEdge()
|
boolean |
isATriangle()
|
boolean |
isFlat()
|
void |
print()
|
void |
setChildren(java.util.ArrayList<GeometricObject> children)
|
void |
setChildren(GenericEdge beginChild,
GenericEdge endChild)
Hierarchical information |
void |
setOffsets(int normalOffset,
int verticalOffset)
Offsets Methods******************************* |
void |
setState(State state)
|
void |
setTriangle(Triangle t)
|
| Methods inherited from class ImageStuff.GeometricObject |
|---|
contains, getAllLeaves, getError, getGeometricProperty, getLocs, setGeometricProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean test_offset_set
| Constructor Detail |
|---|
public GenericEdge(Vertex a,
Vertex b,
int[][] lijn,
Configuration configuration)
public GenericEdge(Vertex a,
Vertex b,
Configuration configuration)
| Method Detail |
|---|
public boolean containsBothVertices(Vertex a,
Vertex b)
public boolean containtsVertex(Vertex v)
public boolean hasToBeConsidered()
hasToBeConsidered in class GeometricObjectpublic boolean isATriangle()
isATriangle in class GeometricObjectpublic boolean isAnEdge()
isAnEdge in class GeometricObjectpublic boolean isFlat()
public void commit(CommitDataStructure dataStructure)
public Triangle getLeftTriangle()
public void setTriangle(Triangle t)
public Triangle getRightTriangle()
public void setChildren(GenericEdge beginChild,
GenericEdge endChild)
public boolean hasChildren()
hasChildren in class GeometricObjectpublic GenericEdge getBeginChild()
public GenericEdge getEindChild()
public void setChildren(java.util.ArrayList<GeometricObject> children)
setChildren in class GeometricObjectpublic java.util.ArrayList<GeometricObject> getChildren()
getChildren in class GeometricObject
public AbstractTesselation getBestEncoderTesselation(SnijPixelStrategy snijPixelStrategy,
ConnectieCriterium connectieCriterium)
getBestEncoderTesselation in class GeometricObjectsnijPixelStrategy -
public AbstractTesselation getTesselation(SnijPixelStrategy snijPixelStrategy,
java.lang.String choise)
getTesselation in class GeometricObject
public Vertex doorsnede(GenericEdge andere)
throws java.lang.Exception
java.lang.Exceptionpublic float getArea()
getArea in class GeometricObjectpublic float getHoekInDomain(int index)
getHoekInDomain in class GeometricObjectpublic Loc getLoc(int index)
public final Vertex getBegin()
public final Vertex getEind()
public Vertex getVertex(int index)
getVertex in class GeometricObjectpublic int[][] getLijn()
public int getLengte()
public float getEuclidischeLengte()
public float getEuclidischeLengtePerPixel()
public float getShortestDomainDistance(Loc l)
l -
public int getAantalPunten()
getAantalPunten in class GeometricObjectpublic java.util.ArrayList<Vertex> getOrderedVertices()
getOrderedVertices in class GeometricObjectpublic int getHoogte()
public int getMiddenIndex()
public Loc getMidLoc()
public float getFundamentenWaardeOn(int index)
public float getFunctiewaardeOn(int index)
public float getFunctiewaardeOn(Loc loc)
getFunctiewaardeOn in class GeometricObjectpublic float fundamentenwaardeOn(Loc loc)
fundamentenwaardeOn in class GeometricObject
public void setOffsets(int normalOffset,
int verticalOffset)
public int getNormalOffset()
public float getNormalOffsetDistance()
public int getVerticalOffset()
public boolean hasCrossedContour()
public float getAreaOfAdjacentTriangles()
public float getNormalisationFactor()
public void print()
public GenericEdge getEdge(int i)
getEdge in class GeometricObjectpublic int getNbrOfEdges()
getNbrOfEdges in class GeometricObjectpublic State getState()
public void setState(State state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||