|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point2 | |
---|---|
org.graphstream.ui.geom | |
org.graphstream.ui.swingViewer.util |
Uses of Point2 in org.graphstream.ui.geom |
---|
Subclasses of Point2 in org.graphstream.ui.geom | |
---|---|
class |
Point3
3D point. |
Fields in org.graphstream.ui.geom declared as Point2 | |
---|---|
static Point2 |
Point2.NULL_POINT2
Specific point at (0,0). |
Methods in org.graphstream.ui.geom that return Point2 | |
---|---|
Point2 |
Point2.interpolate(Point2 other,
double factor)
Create a new point linear interpolation of this and other . |
Methods in org.graphstream.ui.geom with parameters of type Point2 | |
---|---|
void |
Vector2.copy(Point2 point)
Make this a copy of point . |
void |
Point2.copy(Point2 other)
Make this a copy of other. |
double |
Point2.distance(Point2 other)
Distance between this and other . |
Point2 |
Point2.interpolate(Point2 other,
double factor)
Create a new point linear interpolation of this and other . |
void |
Point2.move(Point2 p)
Move of given point p . |
void |
Point2.scale(Point2 s)
Scale by factor s. |
void |
Point2.swap(Point2 other)
Exchange the values of this and other. |
Constructors in org.graphstream.ui.geom with parameters of type Point2 | |
---|---|
Point2(Point2 other)
New copy of other. |
|
Vector2(Point2 point)
New vector copy of point . |
|
Vector2(Point2 from,
Point2 to)
|
Uses of Point2 in org.graphstream.ui.swingViewer.util |
---|
Methods in org.graphstream.ui.swingViewer.util that return Point2 | |
---|---|
static Point2 |
CubicCurve.derivative(Point2 p0,
Point2 p1,
Point2 p2,
Point3 p3,
double t)
Derivative point of a cubic Bézier curve according to control points `x0`, `x1`, `x2` and `x3` at parametric position `t` of the curve. |
static Point2 |
CubicCurve.derivative(Point2 p0,
Point2 p1,
Point2 p2,
Point3 p3,
double t,
Point2 result)
Store in `result` the derivative point of a cubic Bézier curve according to control points `x0`, `x1`, `x2` and `x3` at parametric position `t` of the curve. |
static Point2 |
CubicCurve.eval(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t)
Evaluate a cubic Bézier curve according to control points `p0`, `p1`, `p2` and `p3` and return the position at parametric position `t` of the curve. |
static Point2 |
CubicCurve.eval(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t,
Point2 result)
Evaluate a cubic Bézier curve according to control points `p0`, `p1`, `p2` and `p3` and store the position at parametric position `t` of the curve in `result`. |
Methods in org.graphstream.ui.swingViewer.util with parameters of type Point2 | |
---|---|
static Point2 |
CubicCurve.derivative(Point2 p0,
Point2 p1,
Point2 p2,
Point3 p3,
double t)
Derivative point of a cubic Bézier curve according to control points `x0`, `x1`, `x2` and `x3` at parametric position `t` of the curve. |
static Point2 |
CubicCurve.derivative(Point2 p0,
Point2 p1,
Point2 p2,
Point3 p3,
double t,
Point2 result)
Store in `result` the derivative point of a cubic Bézier curve according to control points `x0`, `x1`, `x2` and `x3` at parametric position `t` of the curve. |
static Point2 |
CubicCurve.eval(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t)
Evaluate a cubic Bézier curve according to control points `p0`, `p1`, `p2` and `p3` and return the position at parametric position `t` of the curve. |
static Point2 |
CubicCurve.eval(Point2 p0,
Point2 p1,
Point2 p2,
Point2 p3,
double t,
Point2 result)
Evaluate a cubic Bézier curve according to control points `p0`, `p1`, `p2` and `p3` and store the position at parametric position `t` of the curve in `result`. |
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`. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |