|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector2 | |
---|---|
org.graphstream.ui.geom | |
org.graphstream.ui.swingViewer.util |
Uses of Vector2 in org.graphstream.ui.geom |
---|
Subclasses of Vector2 in org.graphstream.ui.geom | |
---|---|
class |
Vector3
A three component vector made of doubles. |
Methods in org.graphstream.ui.geom with parameters of type Vector2 | |
---|---|
void |
Vector2.add(Vector2 other)
Add each element of other to the corresponding element of this. |
void |
Vector2.copy(Vector2 other)
Make this a copy of other. |
double |
Vector2.dotProduct(Vector2 other)
Dot product of this and other. |
void |
Vector2.mult(Vector2 other)
Multiply each element of this by the corresponding element of other. |
void |
Vector2.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 | |
---|---|
Vector2(Vector2 other)
New vector copy of other . |
Uses of Vector2 in org.graphstream.ui.swingViewer.util |
---|
Methods in org.graphstream.ui.swingViewer.util that return Vector2 | |
---|---|
static Vector2 |
CubicCurve.perpendicular(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t)
The perpendicular vector to the curve defined by control points `p0`, `p1`, `p2` and `p3` at parametric position `t`. |
static Vector2 |
CubicCurve.perpendicular(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t,
Vector2 result)
Store in `result` the perpendicular vector to the curve defined by control points `p0`, `p1`, `p2` and `p3` at parametric position `t`. |
Methods in org.graphstream.ui.swingViewer.util with parameters of type Vector2 | |
---|---|
static Vector2 |
CubicCurve.perpendicular(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t,
Vector2 result)
Store in `result` the perpendicular vector to the curve defined by control points `p0`, `p1`, `p2` and `p3` at parametric position `t`. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |