Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## SEdit.Formalisms.World.Preys
Class Vector2D

    java.lang.Object
      SEdit.Formalisms.World.Preys.Vector2D

    public class Vector2D

extends java.lang.Object

Titre : Preys Description : Copyright : Copyright (c) 2000 Soci�t� :

Version:
  1.0
Author:
  J. Ferber

Constructor Summary
`Vector2D(double _x, double _y)`

Method Summary
`Vector2D` | `add(Vector2D a)`
`void` | `addPolar(int d, int r)`
`Vector2D` | `getOpposite()`
`double` | `getX()`
`double` | `getY()`
`Vector2D` | `mult(double c)`
`void` | `normalize()`
`void` | `opposite()`
`int` | `rho()`
`int` | `theta()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Vector2D

    public Vector2D(double _x,
                    double _y)

Method Detail

### getX

    public double getX()

### getY

    public double getY()

### add

    public Vector2D add(Vector2D a)

### mult

    public Vector2D mult(double c)

### getOpposite

    public Vector2D getOpposite()

### opposite

    public void opposite()

### rho

    public int rho()

### theta

    public int theta()

### addPolar

    public void addPolar(int d,
                         int r)

### normalize

    public void normalize()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.