com.infoviz.treeviz.nestedpie
Class NestedPieNodeShape

java.lang.Object
  extended bycom.infoviz.treeviz.nestedpie.NestedPieNodeShape

public class NestedPieNodeShape
extends java.lang.Object

Title: Description: $Id$ $Revision$ $Author$


Constructor Summary
NestedPieNodeShape(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
 double[] getAngleBounds()
          returns the start and end angle of the node
 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

NestedPieNodeShape

public NestedPieNodeShape(double startAngle,
                          double endAngle,
                          double startR,
                          double endR)
Method Detail

getAngleBounds

public double[] getAngleBounds()
returns the start and end angle of the node


getRadialBounds

public double[] getRadialBounds()

contains

public boolean contains(double angle,
                        double radius)
checks if the given angle and radius fall inside the shape of this node

Parameters:
angle - is in radians

toString

public java.lang.String toString()