net.claribole.zgrviewer.dot
Class Spline

java.lang.Object
  extended bynet.claribole.zgrviewer.dot.Spline

public class Spline
extends java.lang.Object

Control point positions of a spline

Author:
Eric Mounhem

Constructor Summary
Spline()
          Create a new Spline object.
 
Method Summary
 void addControls(Point point)
           
 Point[] getControls()
          Getter for the controls attribute
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Spline

public Spline()
Create a new Spline object. You must add other points with addControls(Point p1, Point p2, Point p3).

Method Detail

addControls

public void addControls(Point point)

getControls

public Point[] getControls()
Getter for the controls attribute

Returns:
the list of control points

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2004-2005 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.