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 |
Vector3.copy(Point3 point)
Make this a copy of
point . |
void |
Point3.copy(Point3 other)
Make this a copy of other.
|
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,
java.lang.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. |
static Point3 |
GraphPosLengthUtils.nodePosition(Graph graph,
java.lang.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 Point3 |
GraphPosLengthUtils.nodePosition(Node node,
Point3 pos)
Like
GraphPosLengthUtils.nodePosition(Graph,String,Point3) but use an existing node as
argument. |
static Point3 |
GraphPosLengthUtils.positionFromObject(java.lang.Object o,
Point3 pos)
Try to convert an object to a position.
|
Modifier and Type | Method and Description |
---|---|
static Point3 |
GraphPosLengthUtils.nodePosition(Graph graph,
java.lang.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 Point3 |
GraphPosLengthUtils.nodePosition(Node node,
Point3 pos)
Like
GraphPosLengthUtils.nodePosition(Graph,String,Point3) but use an existing node as
argument. |
static Point3 |
GraphPosLengthUtils.positionFromObject(java.lang.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 | Field and Description |
---|---|
Point3 |
EdgeSpring.spring
The attraction force on this edge.
|
Modifier and Type | Method and Description |
---|---|
Point3 |
BarnesHutLayout.getCenterPoint() |
Point3 |
BarnesHutLayout.getHiPoint() |
Point3 |
BarnesHutLayout.getLowPoint() |
Modifier and Type | Method and Description |
---|---|
Point3 |
ConnectorSkeleton.apply(int i)
The i-th point of the edge shape.
|
Point3 |
ConnectorSkeleton.from()
The first point of the edge shape.
|
Point3 |
DefaultCamera2D.getNodeOrSpritePositionGU(GraphicElement elt,
Point3 pos) |
Point3 |
DefaultCamera2D.getSpritePosition(GraphicSprite sprite,
Point3 pos,
StyleConstants.Units units)
Compute the real position of a sprite according to its eventual attachment in
graph units.
|
Point3 |
DefaultCamera2D.getSpritePositionEdge(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionFree(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionNode(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units)
Compute the position of a sprite if attached to a node.
|
Point3 |
Camera.getViewCenter()
The view centre (a point in graph units).
|
Point3 |
DefaultCamera2D.getViewCenter() |
Point3 |
Backend.inverseTransform(double x,
double y,
double z)
Pass a point in transformed coordinates (pixels) into the reverse transform
(into graph units).
|
Point3 |
Backend.inverseTransform(Point3 p)
Transform a point in pixel units into graph units, the given point is
transformed in place and also returned.
|
Point3 |
ConnectorSkeleton.pointOnShape(double percent)
Compute a point at the given percent on the shape and return it.
|
Point3 |
ConnectorSkeleton.pointOnShape(double percent,
Point3 target)
Compute a point at a given percent on the shape and store it in the target,
also returning it.
|
Point3 |
ConnectorSkeleton.pointOnShapeAndPerpendicular(double percent,
double perpendicular)
Compute a point at a given percent on the shape and push it from the shape
perpendicular to it at a given distance in GU.
|
Point3 |
ConnectorSkeleton.pointOnShapeAndPerpendicular(double percent,
double perpendicular,
Point3 target)
Compute a point at a given percent on the shape and push it from the shape
perpendicular to it at a given distance in GU.
|
Point3 |
DefaultCamera2D.spritePositionPx(GraphicSprite sprite) |
Point3 |
ConnectorSkeleton.to()
The last point of the edge shape.
|
Point3 |
Backend.transform(double x,
double y,
double z)
Transform a point in graph units into pixel units.
|
Point3 |
Backend.transform(Point3 p)
Transform a point in graph units into pixel units, the given point is
transformed in place and also returned.
|
Point3 |
Camera.transformGuToPx(double x,
double y,
double z)
Transform a point in graph units into pixels.
|
Point3 |
DefaultCamera2D.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.
|
Point3 |
DefaultCamera2D.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 |
---|---|
Point3 |
DefaultCamera2D.getNodeOrSpritePositionGU(GraphicElement elt,
Point3 pos) |
Point3 |
DefaultCamera2D.getSpritePosition(GraphicSprite sprite,
Point3 pos,
StyleConstants.Units units)
Compute the real position of a sprite according to its eventual attachment in
graph units.
|
Point3 |
DefaultCamera2D.getSpritePositionEdge(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionFree(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionNode(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units)
Compute the position of a sprite if attached to a node.
|
Point3 |
Backend.inverseTransform(Point3 p)
Transform a point in pixel units into graph units, the given point is
transformed in place and also returned.
|
Point3 |
ConnectorSkeleton.pointOnShape(double percent,
Point3 target)
Compute a point at a given percent on the shape and store it in the target,
also returning it.
|
Point3 |
ConnectorSkeleton.pointOnShapeAndPerpendicular(double percent,
double perpendicular,
Point3 target)
Compute a point at a given percent on the shape and push it from the shape
perpendicular to it at a given distance in GU.
|
void |
ConnectorSkeleton.setPoly(Point3[] aSetOfPoints) |
void |
DefaultCamera2D.setViewCenter(Point3 p) |
Point3 |
Backend.transform(Point3 p)
Transform a point in graph units into pixel units, the given point is
transformed in place and also returned.
|
void |
ConnectorSkeleton.update(int i,
Point3 p)
Change the i-th point in the set of points making up the shape of this edge.
|
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.
|