|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaillage.Triangle
public class Triangle
Class representing a triangle
Constructor Summary | |
---|---|
Triangle(Cellule p,
Cellule q,
Cellule r)
Constructor of a triangle definied by 3 sommets |
Method Summary | |
---|---|
void |
addVoisin(Triangle tr)
|
boolean |
aDesVoisins()
|
Point |
centreCercleCirconscrit()
|
boolean |
contains(Cellule P)
Checks if the point specified as argument is contained in the triangle |
Cellule |
dernierSommet(Cellule c1,
Cellule c2)
|
boolean |
estVoisin(Triangle tr)
|
java.util.Vector<Cellule> |
getVertex()
Returns the vextex list of the triangle |
java.util.Vector<Triangle> |
getVoisins()
|
boolean |
isIllegal(Cellule cK)
|
boolean |
isVertex(Cellule p)
|
void |
legalizeEdge(Triangle trJKI,
Cellule cJ,
Cellule cI,
java.util.Vector<Triangle> listeTriangle,
int e)
Legalise d'une arête |
void |
print()
|
double |
rayonCercleCirconscrit(Point p)
|
void |
removeVoisin(Triangle tr)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Triangle(Cellule p, Cellule q, Cellule r)
P
- Sommet #1Q
- Sommet #2R
- Sommet #3Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void print()
public java.util.Vector<Cellule> getVertex()
public boolean isVertex(Cellule p)
public boolean estVoisin(Triangle tr)
public java.util.Vector<Triangle> getVoisins()
public void addVoisin(Triangle tr)
public void removeVoisin(Triangle tr)
public boolean aDesVoisins()
public Cellule dernierSommet(Cellule c1, Cellule c2)
public Point centreCercleCirconscrit()
public double rayonCercleCirconscrit(Point p)
public boolean isIllegal(Cellule cK)
public void legalizeEdge(Triangle trJKI, Cellule cJ, Cellule cI, java.util.Vector<Triangle> listeTriangle, int e)
trJKI
- triangle adjacentcJ
- cellule 1 de l'arête communecI
- cellule 2 de l'arête communepublic boolean contains(Cellule P)
P
- the point to be checked
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |