public class ForceVector extends Object implements org.gephi.graph.spi.LayoutData
| Constructor and Description |
|---|
ForceVector() |
ForceVector(float x,
float y) |
ForceVector(ForceVector vector) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ForceVector f) |
float |
getEnergy() |
float |
getNorm() |
void |
multiply(float s) |
ForceVector |
normalize() |
void |
setX(float x) |
void |
setY(float y) |
void |
subtract(ForceVector f) |
String |
toString() |
float |
x() |
float |
y() |
float |
z() |
public ForceVector(ForceVector vector)
public ForceVector(float x,
float y)
public ForceVector()
public float x()
public float y()
public float z()
public void setX(float x)
public void setY(float y)
public void add(ForceVector f)
public void multiply(float s)
public void subtract(ForceVector f)
public float getEnergy()
public float getNorm()
public ForceVector normalize()
Copyright © 2007–2017. All rights reserved.