Uses of Class
org.graphstream.ui.geom.Vector2
| Package | Description |
|---|---|
| org.graphstream.ui.geom |
-
Uses of Vector2 in org.graphstream.ui.geom
Subclasses of Vector2 in org.graphstream.ui.geom Modifier and Type Class Description classVector3A three component vector made of doubles.Methods in org.graphstream.ui.geom with parameters of type Vector2 Modifier and Type Method Description voidVector2. add(Vector2 other)Add each element of other to the corresponding element of this.voidVector2. copy(Vector2 other)Make this a copy of other.doubleVector2. dotProduct(Vector2 other)Dot product of this and other.voidVector2. mult(Vector2 other)Multiply each element of this by the corresponding element of other.voidVector2. sub(Vector2 other)Subtract each element of other to the corresponding element of this.Constructors in org.graphstream.ui.geom with parameters of type Vector2 Constructor Description Vector2(Vector2 other)New vector copy ofother.