opale.m2d.object2d
Class GxyFt

java.lang.Object
  |
  +--opale.m2d.ker.Object2D
        |
        +--opale.m2d.object2d.xyFt
              |
              +--opale.m2d.object2d.GxyFt
All Implemented Interfaces:
java.lang.Cloneable

public class GxyFt
extends xyFt
implements java.lang.Cloneable

Cette classe étend xyFt et représente graphiquemnet une fonction paramétrique x(t), y(t)..

Since:
Opale-2d 0.11
Author:
O.C.

Fields inherited from class opale.m2d.object2d.xyFt
fonc, N, tinf, tsup
 
Constructor Summary
GxyFt()
          Constructeur par défaut.
GxyFt(GxyFt f)
          Le constructeur de copie
GxyFt(OIJ rep)
          Construit et initialise le nuage avec 0 points et avec les informations par défaut.
 
Method Summary
 java.lang.Object clone()
          Crée un nouvel objet de même classe et de même contenu.
 void draw(Pen2D c)
           
 InfoObject getInfo()
           
 int readKeyWord(java.lang.String word, RFile f, Pack2D p)
          Interpret a keyword read in a file.
 void writeFileMore(WFile f, Pack2D p)
          Wrtie complementary information in a file.
 
Methods inherited from class opale.m2d.object2d.xyFt
changeOIJ, set, toString
 
Methods inherited from class opale.m2d.ker.Object2D
getOIJ, readFile, setOIJ, writeFile, xmax
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GxyFt

public GxyFt()
Constructeur par défaut.

GxyFt

public GxyFt(OIJ rep)
Construit et initialise le nuage avec 0 points et avec les informations par défaut.
Parameters:
OIJ - rep, le repère.

GxyFt

public GxyFt(GxyFt f)
Le constructeur de copie
Parameters:
GData - d, l'objet à copier.
Method Detail

draw

public void draw(Pen2D c)

getInfo

public InfoObject getInfo()

readKeyWord

public int readKeyWord(java.lang.String word,
                       RFile f,
                       Pack2D p)
                throws java.io.IOException,
                       MalformedFileException
Description copied from class: Object2D
Interpret a keyword read in a file.
Overrides:
readKeyWord in class xyFt
Following copied from class: opale.m2d.ker.Object2D
Parameters:
String - word, the keyword.
RFile - f, the file in reading.
Pack2D - p, instance of Pack2D that contains the requiered objects.
Returns:
int, 0 if the keyword is good, -1 otherwise.

writeFileMore

public void writeFileMore(WFile f,
                          Pack2D p)
Description copied from class: Object2D
Wrtie complementary information in a file.
Overrides:
writeFileMore in class xyFt
Following copied from class: opale.m2d.ker.Object2D
Parameters:
WFile - f, the file in writing .

clone

public java.lang.Object clone()
Crée un nouvel objet de même classe et de même contenu.
Overrides:
clone in class xyFt
Returns:
Object un clone de l'objet.
Throws:
OutOfMemoryError - s'il n'y a pas assez de mémoire.
See Also:
Cloneable