|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectfi.jyu.mit.graphics.Vector
fi.jyu.mit.graphics.RPoint
public class RPoint
Kolmiulotteinen piste
| Constructor Summary | |
|---|---|
RPoint()
Luo uuden pisteen |
|
RPoint(double x,
double y)
Luo uuden pisteen annetuilla x- ja y-koordinaateilla ja z-koordinaatti on nolla |
|
RPoint(double x,
double y,
double z)
Luo uuden pisteen annetuilla x-, y- ja x-koordinaateilla |
|
| Method Summary | |
|---|---|
double |
getX()
Antaa tämän pisteen x-koordinaatin |
double |
getY()
Antaa tämän pisteen y-koordinaatin |
double |
getZ()
Antaa tämän pisteen z-koordinaatin |
| Methods inherited from class fi.jyu.mit.graphics.Vector |
|---|
a, innerProduct, scalarProduct, set, set, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RPoint()
public RPoint(double x,
double y)
x - x-koordinaattiy - y-koordinaatti
public RPoint(double x,
double y,
double z)
x - x-koordinaattiy - y-koordinaattiz - z-koordinaatti| Method Detail |
|---|
public double getX()
public double getY()
public double getZ()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||