csjs.shapes
Interface GeoRectangleADT

All Superinterfaces:
RectangleADT, ShapeADT
All Known Implementing Classes:
GeoRectangle

public interface GeoRectangleADT
extends RectangleADT

A 'georectangle' is a rectangle located in 2-space


Method Summary
 double distance(GeoRectangle gc)
           
 boolean equals(GeoRectangle gc)
           
 csjs.math.Point point()
           
 void set(csjs.math.Point p)
           
 
Methods inherited from interface csjs.shapes.RectangleADT
diagonal, expandHeight, expandWidth, height, resize, shrinkHeight, shrinkWidth, width
 
Methods inherited from interface csjs.shapes.ShapeADT
area, perimeter, toString
 

Method Detail

point

public csjs.math.Point point()

distance

public double distance(GeoRectangle gc)

equals

public boolean equals(GeoRectangle gc)

set

public void set(csjs.math.Point p)