treebolic.core
Class Arc

java.lang.Object
  extended by treebolic.core.Arc

public class Arc
extends java.lang.Object

Arc of radius r with center at x,y beginning 'start' and spanning 'angle' angles in radians

Author:
Bernard Bou

Field Summary
 double angle
          angle
private static double E
          epsilon
 Complex from
          from-end
 double r
          radius
private static double R
          max radius
 double start
          start
 Complex to
          to-end
 double x
          center x
 double y
          center y
 
Constructor Summary
Arc(Complex z1, Complex z2)
          Construct segment of hyperbolic circle, which connects z1 and z2
 
Method Summary
private  boolean intersectOrigin()
          Compute if this arc meets origin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

E

private static final double E
epsilon

See Also:
Constant Field Values

R

private static final double R
max radius

See Also:
Constant Field Values

x

public double x
center x


y

public double y
center y


r

public double r
radius


start

public double start
start


angle

public double angle
angle


from

public Complex from
from-end


to

public Complex to
to-end

Constructor Detail

Arc

public Arc(Complex z1,
           Complex z2)
Construct segment of hyperbolic circle, which connects z1 and z2

Parameters:
z1 - start endpoint
z2 - end enpoint
Method Detail

intersectOrigin

private boolean intersectOrigin()
Compute if this arc meets origin

Returns:
true if this arc meets origin