Package | Description |
---|---|
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 | |
test.edu.uci.ics.jung.utils |
Modifier and Type | Class and Description |
---|---|
class |
VisVertex |
Modifier and Type | Method and Description |
---|---|
static Coordinates |
CoordinateUtil.add(Coordinates a,
double x,
double y) |
Coordinates |
VisEdge.getBack()
Returns the location of the first endpoint of the
Edge which
this VisEdge represents. |
static Coordinates |
CoordinateUtil.getClosestIntersection(Coordinates source,
Coordinates dest,
java.awt.geom.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. |
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) |
Modifier and Type | Method and Description |
---|---|
static Coordinates |
CoordinateUtil.add(Coordinates a,
double x,
double y) |
static double |
CoordinateUtil.angleBetween(Coordinates c,
double x,
double y) |
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.getClosestIntersection(Coordinates source,
Coordinates dest,
java.awt.geom.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 java.util.Collection |
CoordinateUtil.getIntersections(Coordinates source,
Coordinates dest,
java.awt.geom.Rectangle2D bounds) |
static double |
CoordinateUtil.getSquareDistance(Coordinates u,
double x,
double y)
returns the square of the distance between two points.
|
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 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)
|
Constructor and Description |
---|
Coordinates(Coordinates coordinates)
Initializes this coordinate to the value of the passed-in
coordinate.
|
CoordinateUtil.Line(Coordinates source,
Coordinates dest) |
Modifier and Type | Method and Description |
---|---|
Coordinates |
CrookedSpringLayout.CrookedSpringEdge.calcMidpoint() |
Modifier and Type | Class and Description |
---|---|
protected static class |
SpringLayout.SpringVertex |
Modifier and Type | Method and Description |
---|---|
Coordinates |
CircleEdge.getCenter() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Field and Description |
---|---|
protected Coordinates |
CoordinateUtilsTest.d1 |
protected Coordinates |
CoordinateUtilsTest.d2 |
protected Coordinates |
CoordinateUtilsTest.s1 |
protected Coordinates |
CoordinateUtilsTest.s2 |