|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--opale.m2d.ker.Object2D
|
+--opale.m2d.object2d.Conic
Cette classe représente une conique dans le plan, d'excentricité e,
| Field Summary | |
protected double |
e
|
protected int |
N
|
protected double |
p
|
protected double |
theta0
|
| Constructor Summary | |
Conic()
Constructeur par défaut. |
|
Conic(Conic f)
Le constructeur de coPIe |
|
Conic(OIJ rep)
Construit et initialise la conique en tant que parabole. |
|
| Method Summary | |
void |
changeOIJ(OIJ rep)
Effectue un changement de repere de l'objet. |
java.lang.Object |
clone()
Crée un nouvel objet de même classe et de même contenu. |
static void |
main(java.lang.String[] arg)
|
int |
readKeyWord(java.lang.String word,
RFile f,
Pack2D p)
Interpret a keyword read in a file. |
void |
set(int n)
Fixe le nombre de points de précision. |
void |
setParams(double e,
double p,
double t0)
Fixe l'excentricité, l'inclinaison et le paramètre de la conique. |
java.lang.String |
toString()
Returns a string representation of this object. |
void |
writeFileMore(WFile f,
Pack2D p)
Wrtie complementary information in a file. |
| 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 |
| Field Detail |
protected double e
protected double p
protected double theta0
protected int N
| Constructor Detail |
public Conic()
public Conic(OIJ rep)
OIJ - rep, le repère.public Conic(Conic f)
Conic - d, l'objet à copier.| Method Detail |
public void set(int n)
int - n, le nombre de points.
public void setParams(double e,
double p,
double t0)
double - e, l'excentricité.double - p, le paramètre.double - t0, l'inclinaison en radians.public java.lang.Object clone()
clone in class Object2DOutOfMemoryError - s'il n'y a pas assez de mémoire.Cloneablepublic void changeOIJ(OIJ rep)
changeOIJ in class Object2DOIJ - rep, le nouveau repere.
public void writeFileMore(WFile f,
Pack2D p)
Object2DwriteFileMore in class Object2Dopale.m2d.ker.Object2DWFile - f, the file in writing .
public int readKeyWord(java.lang.String word,
RFile f,
Pack2D p)
throws java.io.IOException,
MalformedFileException
Object2DreadKeyWord in class Object2Dopale.m2d.ker.Object2DString - word, the keyword.RFile - f, the file in reading.Pack2D - p, instance of Pack2D that contains the requiered objects.public java.lang.String toString()
Object2DtoString in class Object2Dpublic static void main(java.lang.String[] arg)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||