-
-
-
-
-
-
Methods in org.graphstream.ui.view.camera that return Point3
| Modifier and Type |
Method |
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 |
DefaultCamera2D.transformGuToPxSwing(double x,
double y,
double z) |
|
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.
|
Point3 |
DefaultCamera2D.transformPxToGuSwing(double x,
double y) |
|
Methods in org.graphstream.ui.view.camera with parameters of type Point3
| Modifier and Type |
Method |
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.
|
-