|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbase.Ponto
base.PontoDouble
public class PontoDouble
Classe que representa um par ordenado real
Ponto,
PontoNatural| Field Summary | |
|---|---|
double |
i
coordenadas |
double |
j
|
| Constructor Summary | |
|---|---|
PontoDouble(double u,
double v)
Permite quaisquer valores |
|
| Method Summary | |
|---|---|
protected void |
defineI(double i)
|
protected void |
defineJ(double j)
|
protected double |
pegaI()
É usado o tipo primitivo double pois ele "contém" o tipo int |
protected double |
pegaJ()
|
| Methods inherited from class base.Ponto |
|---|
igual, normaEuclidiana, soma, subtrai, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double i
public double j
| Constructor Detail |
|---|
public PontoDouble(double u,
double v)
u - coordenada iv - coordenada j| Method Detail |
|---|
protected double pegaI()
Ponto
pegaI in class Pontoprotected double pegaJ()
pegaJ in class Pontoprotected void defineI(double i)
defineI in class Pontoprotected void defineJ(double j)
defineJ in class Ponto
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||