|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ geometrie overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.fudaa.ebli.geometrie
Class GrPoint

java.lang.Objectorg.fudaa.ebli.geometrie.GrObjet
org.fudaa.ebli.geometrie.GrPoint
- All Implemented Interfaces:
- GrContour, java.io.Serializable
Un point 3D
- Version:
- $Revision: 1.13 $ $Date: 2002/10/22 12:02:29 $ by $Author: deniger $
| Field Summary | |
double |
x
|
double |
y
|
double |
z
|
| Fields inherited from class org.fudaa.ebli.geometrie.GrObjet |
|
| Constructor Summary | |
GrPoint()
|
|
GrPoint(double[] _c)
|
|
GrPoint(double _x,
double _y,
double _z)
|
|
| Method Summary | |
GrPoint |
addition(GrVecteur v)
|
GrPoint |
applique(GrMorphisme t)
|
void |
autoApplique(GrMorphisme t)
|
GrBoite |
boite()
Implémentation GrObjet. |
boolean |
comparaison(GrPoint p)
|
GrPoint[] |
contour()
Methode retournant les points du contour de l'objet. |
double |
distance(GrPoint p)
|
double |
distanceXY(GrPoint p)
|
boolean |
estSelectionne(GrMorphisme _ecran,
int _dist,
java.awt.Point _pt)
Indique si l'objet est sélectionné pour un point donné. |
static boolean |
estSelectionne(GrPoint _pTest,
int _dist,
GrPoint _pRef)
Indique si l'objet _pTest est sélectionné pour un point donné
_pRef. |
java.awt.Point |
point()
Retourne un point AWT. |
void |
setCoordonnees(double _x,
double _y,
double _z)
|
GrVecteur |
soustraction(GrPoint p)
|
GrPoint |
soustraction(GrVecteur v)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class org.fudaa.ebli.geometrie.GrObjet |
data, data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
x
public double x
y
public double y
z
public double z
| Constructor Detail |
GrPoint
public GrPoint()
GrPoint
public GrPoint(double _x,
double _y,
double _z)
GrPoint
public GrPoint(double[] _c)
| Method Detail |
setCoordonnees
public void setCoordonnees(double _x,
double _y,
double _z)
toString
public final java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
addition
public final GrPoint addition(GrVecteur v)
soustraction
public final GrPoint soustraction(GrVecteur v)
soustraction
public final GrVecteur soustraction(GrPoint p)
comparaison
public final boolean comparaison(GrPoint p)
distance
public final double distance(GrPoint p)
distanceXY
public final double distanceXY(GrPoint p)
applique
public final GrPoint applique(GrMorphisme t)
autoApplique
public final void autoApplique(GrMorphisme t)
- Overrides:
autoAppliquein classGrObjet
contour
public final GrPoint[] contour()
- Description copied from interface:
GrContour - Methode retournant les points du contour de l'objet.
Par exemple, pour un GrElement, ces points sont les noeuds du GrElement. Ces points servent a determiner si un objet est dans la selection pour une sélection par rectangle ou polygone (tous ses points sont dans la sélection) ou non.
Ils servent également à afficher les poignées si l'objet sélectionné.
boite
public final GrBoite boite()
point
public final java.awt.Point point()
- Retourne un point AWT.
b.marchand Le 26/10/2000
estSelectionne
public final boolean estSelectionne(GrMorphisme _ecran, int _dist, java.awt.Point _pt)
- Indique si l'objet est sélectionné pour un point donné.
- Specified by:
estSelectionnein interfaceGrContour
estSelectionne
public static final boolean estSelectionne(GrPoint _pTest, int _dist, GrPoint _pRef)
- Indique si l'objet
_pTestest sélectionné pour un point donné_pRef.
|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ geometrie overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC