Package | Description |
---|---|
edu.uci.ics.jung.algorithms.layout |
Algorithms for assigning 2D coordinates (typically used for graph visualizations)
to vertices.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<V,PolarPoint> |
BalloonLayout.polarLocations |
protected java.util.Map<V,PolarPoint> |
RadialTreeLayout.polarLocations |
Modifier and Type | Method and Description |
---|---|
static PolarPoint |
PolarPoint.cartesianToPolar(double x,
double y)
Returns the result of converting
(x, y) to polar coordinates. |
static PolarPoint |
PolarPoint.cartesianToPolar(java.awt.geom.Point2D point)
Returns the result of converting
point to polar coordinates. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<V,PolarPoint> |
RadialTreeLayout.getPolarLocations()
Returns the map from vertices to their locations in polar coordinates.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Point2D |
PolarPoint.polarToCartesian(PolarPoint polar)
Returns the result of converting
polar to Cartesian coordinates. |
void |
PolarPoint.setLocation(PolarPoint p)
Sets the angle and radius of this point to those of
p . |
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence