Package | Description |
---|---|
<Unnamed> |
Modifier and Type | Field and Description |
---|---|
GridPoint[][] |
GridLayout.bendPoints
2D positions of the bend points: every edge can have a maximum of 'k' bends.
|
GridPoint[] |
GridLayout.points
2D positions of the vertices of the graph defining the planar layout.
|
Modifier and Type | Method and Description |
---|---|
double |
GridPoint.euclideanDistance(GridPoint p)
Return the Euclidean distance between the current point 'this' and a point 'p'
|
int |
GridPoint.manhattanDistance(GridPoint p)
Return the Manhattan distance between the current point 'this' and a point 'p'
|
int |
GridPoint.squareEuclideanDistance(GridPoint p)
Return the square of the Euclidean distance between the current point 'this' and a point 'p'
|
Constructor and Description |
---|
GridPoint(GridPoint p)
Make a copy of a point q
|