Modifier and Type | Method and Description |
---|---|
Point3 |
FileSinkImages.getViewCenter() |
Modifier and Type | Field and Description |
---|---|
static Point3 |
Point3.NULL_POINT3
Specific point at (0,0,0).
|
Modifier and Type | Method and Description |
---|---|
Point3 |
Point3.interpolate(Point3 other,
double factor)
Create a new point linear interpolation of this and
other . |
Modifier and Type | Method and Description |
---|---|
void |
Point3.copy(Point3 other)
Make this a copy of other.
|
void |
Vector3.copy(Point3 point)
Make this a copy of
point . |
double |
Point3.distance(Point3 other)
Distance between this and
other . |
Point3 |
Point3.interpolate(Point3 other,
double factor)
Create a new point linear interpolation of this and
other . |
void |
Point3.move(Point3 p)
Move of given point
p . |
void |
Point3.scale(Point3 s)
Scale by factor s.
|
void |
Point3.swap(Point3 other)
Exchange the values of this and other.
|
Constructor and Description |
---|
Point3(Point3 other)
New copy of other.
|
Vector3(Point3 point)
New vector copy of
point . |
Modifier and Type | Method and Description |
---|---|
Point3 |
GraphicGraph.getMaxPos()
The maximum position of a node or sprite.
|
Point3 |
GraphicGraph.getMinPos()
The minimum position of a node or sprite.
|
static Point3 |
GraphPosLengthUtils.nodePointPosition(Graph graph,
String id)
Retrieve a node position from its attributes ("x", "y", "z", or "xy", or
"xyz").
|
static Point3 |
GraphPosLengthUtils.nodePointPosition(Node node)
Like
GraphPosLengthUtils.nodePointPosition(Graph,String) but use an existing node as
argument. |
Modifier and Type | Method and Description |
---|---|
static void |
GraphPosLengthUtils.nodePosition(Graph graph,
String id,
Point3 pos)
Like
GraphPosLengthUtils.nodePointPosition(Graph,String) , but instead of returning a
newly allocated array, fill up the array given as parameter. |
static void |
GraphPosLengthUtils.nodePosition(Node node,
Point3 pos)
Like
GraphPosLengthUtils.nodePosition(Graph,String,Point3) but use an existing node
as argument. |
static void |
GraphPosLengthUtils.positionFromObject(Object o,
Point3 pos)
Try to convert an object to a position.
|
Modifier and Type | Method and Description |
---|---|
Point3 |
Layout.getHiPoint()
Largest point in space of the layout bounding box.
|
Point3 |
Layout.getLowPoint()
Smallest point in space of the layout bounding box.
|
Modifier and Type | Method and Description |
---|---|
Point3 |
BarnesHutLayout.getCenterPoint() |
Point3 |
BarnesHutLayout.getHiPoint() |
Point3 |
BarnesHutLayout.getLowPoint() |
Modifier and Type | Field and Description |
---|---|
Point3 |
GraphMetrics.hi
Graph higher position (top,right,back).
|
Point3 |
GraphMetrics.hiVisible
The highest visible point.
|
Point3 |
GraphMetrics.lo
Graph lower position (bottom,left,front).
|
Point3 |
GraphMetrics.loVisible
The lowest visible point.
|
Modifier and Type | Method and Description |
---|---|
Point3 |
GraphMetrics.getHighPoint()
The graph highest (top,right,back) point.
|
Point3 |
GraphMetrics.getLowPoint()
The graph lowest (bottom,left,front) point.
|
Point3 |
DefaultCamera.getViewCenter() |
Point3 |
DefaultCamera.transformGuToPx(double x,
double y,
double z) |
Point3 |
DefaultCamera.transformPxToGu(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
Point3 |
Camera.getViewCenter()
The view centre (a point in graph units).
|
Point3 |
Camera.transformGuToPx(double x,
double y,
double z)
Transform a point in graph units into pixels.
|
Point3 |
Camera.transformPxToGu(double x,
double y)
Return the given point in pixels converted in graph units (GU) using the
inverse transformation of the current projection matrix.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2015. All rights reserved.