|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectfi.jyu.mit.graphics.BasicShape
fi.jyu.mit.graphics.Axis
public class Axis
Luokka akseleille
| Field Summary | |
|---|---|
static int |
X
X koordinaattia kuvaava vakio |
static int |
Y
Y koordinaattia kuvaava vakio |
static int |
Z
Z koordinaattia kuvaava vakio |
| Constructor Summary | |
|---|---|
Axis(double xLength,
double yLength,
double zLength)
Luo uudet akselit |
|
Axis(double xLength,
double yLength,
double zLength,
double x,
double y,
double z)
Luo uudet akselit |
|
| Method Summary | |
|---|---|
protected void |
drawShape(Graphics g,
Matrix a)
Pirtää kuvion annetulla Graphics-oliolla ja muunnosmatriisilla |
| Methods inherited from class fi.jyu.mit.graphics.BasicShape |
|---|
changeTransform, draw, getColor, getPoint, getRotator, getRotator, getTransform, getTransform, initGraphics, move, redraw, rotate, scale, setColor, setColor, setParent, setRotator, setTransform, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int X
public static final int Y
public static final int Z
| Constructor Detail |
|---|
public Axis(double xLength,
double yLength,
double zLength,
double x,
double y,
double z)
xLength - x-akselin pituusyLength - y-akselin pituuszLength - z-akselin pituusx - akselien leikkauspisteen x-koordinaattiy - akselien leikkauspisteen y-koordinaattiz - akselien leikkauspisteen z-koordinaatti
public Axis(double xLength,
double yLength,
double zLength)
xLength - x-akselin pituusyLength - y-akselin pituuszLength - z-akselin pituus| Method Detail |
|---|
protected void drawShape(Graphics g,
Matrix a)
BasicShape
drawShape in class BasicShapeg - Graphics-olioa - muunnosmatriisi
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||