|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Coordinates | |
| samples.preview_new_graphdraw | This module provides a new way of thinking about graph drawing. |
| samples.preview_new_graphdraw.impl.crooked | |
| samples.preview_new_graphdraw.iterablelayouts | |
| samples.preview_new_graphdraw.test | |
| samples.preview_new_graphdraw.transform | |
| Uses of Coordinates in samples.preview_new_graphdraw |
| Subclasses of Coordinates in samples.preview_new_graphdraw | |
class |
VisVertex
|
| Methods in samples.preview_new_graphdraw that return Coordinates | |
static Coordinates |
CoordinateUtil.midpoint(Coordinates a,
Coordinates b)
Computes the midpoint between the two coordinates |
static Coordinates |
CoordinateUtil.scale(Coordinates a,
double x,
double y)
|
static Coordinates |
CoordinateUtil.add(Coordinates a,
double x,
double y)
|
static Coordinates |
CoordinateUtil.getClosestIntersection(Coordinates source,
Coordinates dest,
Rectangle2D bounds)
Returns the closest intersection to source of the
line defined by source and target,
and the bounding box bounds, or null
if there is no intersection. |
Coordinates |
VisEdge.getFront()
Returns the location of the second endpoint of the Edge which
this VisEdge represents. |
Coordinates |
VisEdge.getBack()
Returns the location of the first endpoint of the Edge which
this VisEdge represents. |
| Methods in samples.preview_new_graphdraw with parameters of type Coordinates | |
static double |
CoordinateUtil.distance(Coordinates a,
Coordinates b)
Computes the euclidean distance between two coordinates |
static double |
CoordinateUtil.distance(Coordinates a,
double x,
double y)
|
static Coordinates |
CoordinateUtil.midpoint(Coordinates a,
Coordinates b)
Computes the midpoint between the two coordinates |
static Coordinates |
CoordinateUtil.scale(Coordinates a,
double x,
double y)
|
static Coordinates |
CoordinateUtil.add(Coordinates a,
double x,
double y)
|
static double |
CoordinateUtil.squareDistanceLineToPoint(Coordinates front,
Coordinates back,
double x,
double y)
Calculates the square of the distance from a segment running (x1, y1) to (x2, y2) to a point (x,y) |
static double |
CoordinateUtil.getSquareDistance(Coordinates u,
double x,
double y)
returns the square of the distance between two points. |
static double |
CoordinateUtil.angleBetween(Coordinates c,
double x,
double y)
|
static Coordinates |
CoordinateUtil.getClosestIntersection(Coordinates source,
Coordinates dest,
Rectangle2D bounds)
Returns the closest intersection to source of the
line defined by source and target,
and the bounding box bounds, or null
if there is no intersection. |
static Collection |
CoordinateUtil.getIntersections(Coordinates source,
Coordinates dest,
Rectangle2D bounds)
|
| Constructors in samples.preview_new_graphdraw with parameters of type Coordinates | |
CoordinateUtil.Line(Coordinates source,
Coordinates dest)
|
|
Coordinates(Coordinates coordinates)
Initializes this coordinate to the value of the passed-in coordinate. |
|
| Uses of Coordinates in samples.preview_new_graphdraw.impl.crooked |
| Methods in samples.preview_new_graphdraw.impl.crooked that return Coordinates | |
Coordinates |
CrookedSpringLayout.CrookedSpringEdge.calcMidpoint()
|
| Uses of Coordinates in samples.preview_new_graphdraw.iterablelayouts |
| Subclasses of Coordinates in samples.preview_new_graphdraw.iterablelayouts | |
protected static class |
SpringLayout.SpringVertex
|
| Uses of Coordinates in samples.preview_new_graphdraw.test |
| Methods in samples.preview_new_graphdraw.test that return Coordinates | |
Coordinates |
CircleEdge.getCenter()
|
| Uses of Coordinates in samples.preview_new_graphdraw.transform |
| Methods in samples.preview_new_graphdraw.transform that return Coordinates | |
Coordinates |
CrookedLineTransformer.invert(Coordinates in)
Since CrookedLine doesn't modify the coordinates, neither does this. |
Coordinates |
FitOnScreenTransformer.invert(Coordinates in)
Modifies the input Coordinates object to reverse the input transformation. |
Coordinates |
LayoutTransformer.invert(Coordinates in)
This does the *reverse* of the trasformation, for a given point. |
Coordinates |
PipelineResizingTransformer.invert(Coordinates in)
|
Coordinates |
SlightMarginTransformer.invert(Coordinates in)
|
| Methods in samples.preview_new_graphdraw.transform with parameters of type Coordinates | |
Coordinates |
CrookedLineTransformer.invert(Coordinates in)
Since CrookedLine doesn't modify the coordinates, neither does this. |
Coordinates |
FitOnScreenTransformer.invert(Coordinates in)
Modifies the input Coordinates object to reverse the input transformation. |
void |
FitOnScreenTransformer.ScaleAndTranslate.invert(Coordinates vv)
|
Coordinates |
LayoutTransformer.invert(Coordinates in)
This does the *reverse* of the trasformation, for a given point. |
Coordinates |
PipelineResizingTransformer.invert(Coordinates in)
|
Coordinates |
SlightMarginTransformer.invert(Coordinates in)
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||