org.jzy3d.plot3d.builder.delaunay.jdt
Class Circle_dt

java.lang.Object
  extended by org.jzy3d.plot3d.builder.delaunay.jdt.Circle_dt

public class Circle_dt
extends java.lang.Object

this class represents a simple circle.
it is used by the Delaunay Triangulation class.

note that this class is immutable.

See Also:
Delaunay_Triangulation

Constructor Summary
Circle_dt(Circle_dt circ)
          Copy Constructor.
Circle_dt(Point_dt c, double r)
          Constructor.
 
Method Summary
 Point_dt Center()
          Gets the center of the circle.
 double Radius()
          Gets the radius of the circle.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Circle_dt

public Circle_dt(Point_dt c,
                 double r)
Constructor.
Constructs a new Circle_dt.

Parameters:
c - Center of the circle.
r - Radius of the circle.

Circle_dt

public Circle_dt(Circle_dt circ)
Copy Constructor.
Creates a new Circle with same properties of circ.

Parameters:
circ - Circle to clone.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Center

public Point_dt Center()
Gets the center of the circle.

Returns:
the center of the circle.

Radius

public double Radius()
Gets the radius of the circle.

Returns:
the radius of the circle.