Package | Description |
---|---|
org.graphstream.ui.geom | |
org.graphstream.ui.view.util |
Modifier and Type | Class and Description |
---|---|
class |
Vector3
A three component vector made of doubles.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Vector2(Vector2 other)
New vector copy of
other . |
Modifier and Type | Method and Description |
---|---|
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`.
|
Modifier and Type | Method and Description |
---|---|
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`.
|
Copyright © 2015. All rights reserved.