br.usp.iterador.plugin.bacia.model
Class AttractorBuilder

java.lang.Object
  extended by br.usp.iterador.plugin.bacia.model.AttractorBuilder

public class AttractorBuilder
extends java.lang.Object

Attractor builder.

Author:
Guilherme Silveira

Constructor Summary
AttractorBuilder()
           
 
Method Summary
 void add(java.awt.Point p, Scale[] scales, int maxx, int maxy)
          Prepares the polygon
 void clear()
          Clears this builders data
 Cloud create()
          Creates an attractor based on this builders data
 MyPolygon getCurrentPolygon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttractorBuilder

public AttractorBuilder()
Method Detail

clear

public void clear()
Clears this builders data


create

public Cloud create()
Creates an attractor based on this builders data

Returns:

add

public void add(java.awt.Point p,
                Scale[] scales,
                int maxx,
                int maxy)
Prepares the polygon

Parameters:
p -

getCurrentPolygon

public MyPolygon getCurrentPolygon()


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.