java.lang.Object
org.fudaa.ebli.geometrie.GrObjet
org.fudaa.ebli.geometrie.GrPositionRelativePoint
- All Implemented Interfaces:
- GrContour, java.io.Serializable
- public final class GrPositionRelativePoint
- extends GrObjet
- implements GrContour
Une position relative par rapport a un GrPoint
- Version:
- $Revision: 1.4 $ $Date: 2001/09/11 15:29:21 $ by $Author: deniger $
| Fields inherited from class org.fudaa.ebli.geometrie.GrObjet |
|
origine
public GrPoint origine
position
public GrVecteur position
GrPositionRelativePoint
public GrPositionRelativePoint()
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()).
x
public final double x()
y
public final double y()
z
public final double z()
toGrPoint
public final GrPoint toGrPoint()
applique
public final GrPositionRelativePoint applique(GrMorphisme t)
autoApplique
public final void autoApplique(GrMorphisme t)
- Overrides:
autoApplique in class GrObjet
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é.
- Specified by:
contour in interface GrContour
estSelectionne
public final boolean estSelectionne(GrMorphisme _ecran,
int _dist,
java.awt.Point _pt)
- Indique si l'objet est sélectionné pour un point donné.
La méthode a été implémentée dans le but de satisfaire l'interface
GrContour. Son fonctionnement n'est peut être pas exactement celui attendu.
- Specified by:
estSelectionne in interface GrContour