|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.infoviz.treeviz.nestedpie.NestedPieNodeBounds
Title : NestedPieNodeBounds Description: A nested pie bound consists of 2 arcs and 2 lines. The angle bounds are the start and end angle of the upper and lower arcs and the radial bounds are the start and endPoints in the radius. The radial bounds take a value between 0 and 1. $Id$ $Revision$ $Author$
Constructor Summary | |
NestedPieNodeBounds(double startAngle,
double endAngle,
double startR,
double endR)
|
Method Summary | |
boolean |
contains(double angle,
double radius)
checks if the given angle and radius fall inside the shape of this node |
protected void |
draw(java.awt.Graphics g)
|
double[] |
getAngleBounds()
returns the start and end angle of the node |
double[] |
getIntersectingX(double screenY)
returns the intersecting x points if y takes the value provided |
double[] |
getIntersectingY(double screenX)
returns the intersecting y points if x takes the value provided |
double[] |
getRadialBounds()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NestedPieNodeBounds(double startAngle, double endAngle, double startR, double endR)
Method Detail |
public double[] getIntersectingY(double screenX)
public double[] getIntersectingX(double screenY)
protected void draw(java.awt.Graphics g)
public double[] getAngleBounds()
public double[] getRadialBounds()
public boolean contains(double angle, double radius)
angle
- is in radianspublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |