A C D E G H P R S T W

A

area() - Method in class csjs.shapes.GeoSquare
Returns the area of this square.
area() - Method in class csjs.shapes.GeoRectangle
Returns the area of this rectangle.
area() - Method in class csjs.shapes.Rectangle
Returns the area of this rectangle.
area() - Method in class csjs.shapes.GeoCircle
Returns the area of this geocircle.
area() - Method in class csjs.shapes.Circle
Returns the area of this circle.
area() - Method in class csjs.shapes.Square
Returns the area of this square.
area() - Method in interface csjs.shapes.ShapeADT
 

C

Circle - class csjs.shapes.Circle.
A 'circle' is modeled in terms of its radius, a real number.
Circle(double) - Constructor for class csjs.shapes.Circle
Create a circle.
CircleADT - interface csjs.shapes.CircleADT.
A 'square' is a shape with a 'side' property of type 'double'
csjs.shapes - package csjs.shapes
 

D

diagonal() - Method in class csjs.shapes.GeoSquare
Returns the diagonal of this square.
diagonal() - Method in class csjs.shapes.GeoRectangle
Returns the diagonal of this rectangle.
diagonal() - Method in class csjs.shapes.Rectangle
Returns the diagonal of this rectangle.
diagonal() - Method in interface csjs.shapes.RectangleADT
 
diagonal() - Method in interface csjs.shapes.SquareADT
 
diagonal() - Method in class csjs.shapes.Square
Returns the diagonal of this square.
diameter() - Method in class csjs.shapes.GeoCircle
Returns the diameter of this geocircle.
diameter() - Method in class csjs.shapes.Circle
Returns the diameter of this circle.
diameter() - Method in interface csjs.shapes.CircleADT
 
distance(GeoCircle) - Method in class csjs.shapes.GeoCircle
Returns the Cartesian distance between the receiving point and that given by the parameter.
distance(GeoCircle) - Method in interface csjs.shapes.GeoCircleADT
 
distance(GeoRectangle) - Method in interface csjs.shapes.GeoRectangleADT
 
distance(GeoRectangle) - Method in class csjs.shapes.GeoRectangle
Returns the Cartesian distance between the receiving point and that given by the parameter.
distance(GeoSquare) - Method in class csjs.shapes.GeoSquare
Returns the Cartesian distance between the receiving point and that given by the parameter.
distance(GeoSquare) - Method in interface csjs.shapes.GeoSquareADT
 

E

equals(GeoCircle) - Method in class csjs.shapes.GeoCircle
Returns true if the revieving geocircle and the parameter geocircle are equal; false if not.
equals(GeoCircle) - Method in interface csjs.shapes.GeoCircleADT
 
equals(GeoRectangle) - Method in interface csjs.shapes.GeoRectangleADT
 
equals(GeoRectangle) - Method in class csjs.shapes.GeoRectangle
Returns true if the revieving geocircle and the parameter geocircle are equal; false if not.
equals(GeoSquare) - Method in class csjs.shapes.GeoSquare
Returns true if the revieving geocircle and the parameter geocircle are equal; false if not.
equals(GeoSquare) - Method in interface csjs.shapes.GeoSquareADT
 
expand(double) - Method in class csjs.shapes.GeoSquare
Expand this square by augmenting its side by the given number.
expand(double) - Method in class csjs.shapes.GeoCircle
Expand this geocircle by augmenting its radius by the given number.
expand(double) - Method in class csjs.shapes.Circle
Expand this circle by augmenting its radius by the given number.
expand(double) - Method in interface csjs.shapes.CircleADT
 
expand(double) - Method in interface csjs.shapes.SquareADT
 
expand(double) - Method in class csjs.shapes.Square
Expand this square by augmenting its side by the given number.
expandHeight(double) - Method in class csjs.shapes.GeoRectangle
Expand this rectangle by augmenting its height by the given number.
expandHeight(double) - Method in class csjs.shapes.Rectangle
Expand this rectangle by augmenting its height by the given number.
expandHeight(double) - Method in interface csjs.shapes.RectangleADT
 
expandWidth(double) - Method in class csjs.shapes.GeoRectangle
Expand this rectangle by augmenting its width by the given number.
expandWidth(double) - Method in class csjs.shapes.Rectangle
Expand this rectangle by augmenting its width by the given number.
expandWidth(double) - Method in interface csjs.shapes.RectangleADT
 

G

GeoCircle - class csjs.shapes.GeoCircle.
A 'geocircle' a circle located in 2-space
GeoCircle(double, Point) - Constructor for class csjs.shapes.GeoCircle
Create a circle.
GeoCircleADT - interface csjs.shapes.GeoCircleADT.
A 'square' is a shape with a 'side' property of type 'double'
GeoRectangle - class csjs.shapes.GeoRectangle.
A 'georectangle' is is a rectangle located in 2-space
GeoRectangle(double, double, Point) - Constructor for class csjs.shapes.GeoRectangle
Create a rectangle.
GeoRectangleADT - interface csjs.shapes.GeoRectangleADT.
A 'georectangle' is a rectangle located in 2-space
GeoShape - class csjs.shapes.GeoShape.
A 'shape' is a 2-dimensional object
GeoShape() - Constructor for class csjs.shapes.GeoShape
 
GeoSquare - class csjs.shapes.GeoSquare.
A 'geosquare' is a square located in 2-space
GeoSquare(double, Point) - Constructor for class csjs.shapes.GeoSquare
Create a geosquare.
GeoSquareADT - interface csjs.shapes.GeoSquareADT.
A 'geosquare' is a rectangle located in 2-space

H

height() - Method in class csjs.shapes.GeoRectangle
Returns the height of this rectangle.
height() - Method in class csjs.shapes.Rectangle
Returns the height of this rectangle.
height() - Method in interface csjs.shapes.RectangleADT
 

P

perimeter() - Method in class csjs.shapes.GeoSquare
Returns the perimeter of this square.
perimeter() - Method in class csjs.shapes.GeoRectangle
Returns the perimeter of this rectangle.
perimeter() - Method in class csjs.shapes.Rectangle
Returns the perimeter of this rectangle.
perimeter() - Method in class csjs.shapes.GeoCircle
Returns the circumference of this geocircle.
perimeter() - Method in class csjs.shapes.Circle
Returns the circumference of this circle.
perimeter() - Method in class csjs.shapes.Square
Returns the perimeter of this square.
perimeter() - Method in interface csjs.shapes.ShapeADT
 
point() - Method in class csjs.shapes.GeoSquare
Returns the point of this geocircle.
point() - Method in interface csjs.shapes.GeoSquareADT
 
point() - Method in interface csjs.shapes.GeoRectangleADT
 
point() - Method in class csjs.shapes.GeoRectangle
Returns the point of this geocircle.
point() - Method in class csjs.shapes.GeoCircle
Returns the point of this geocircle.
point() - Method in interface csjs.shapes.GeoCircleADT
 

R

radius() - Method in class csjs.shapes.GeoCircle
Returns the radius of this geocircle.
radius() - Method in class csjs.shapes.Circle
Returns the radius of this circle.
radius() - Method in interface csjs.shapes.CircleADT
 
Rectangle - class csjs.shapes.Rectangle.
A 'rectangle' is modeled in terms of its height and its width
Rectangle(double, double) - Constructor for class csjs.shapes.Rectangle
Create a rectangle.
RectangleADT - interface csjs.shapes.RectangleADT.
A 'rectangle' is a shape with a 'height' property of type 'double' and a 'width' property of type 'double'
resize(double) - Method in class csjs.shapes.GeoSquare
Set the side of the square to the given number
resize(double) - Method in class csjs.shapes.GeoCircle
Set the radius of the geocircle to the given number
resize(double) - Method in class csjs.shapes.Circle
Set the radius of the circle to the given number
resize(double) - Method in interface csjs.shapes.CircleADT
 
resize(double) - Method in interface csjs.shapes.SquareADT
 
resize(double) - Method in class csjs.shapes.Square
Set the side of the square to the given number
resize(double, double) - Method in class csjs.shapes.GeoRectangle
Set the height and width of the rectangle to the given numbers
resize(double, double) - Method in class csjs.shapes.Rectangle
Set the height and width of the rectangle to the given numbers
resize(double, double) - Method in interface csjs.shapes.RectangleADT
 

S

set(Point) - Method in class csjs.shapes.GeoSquare
Sets the coordinates of the point
set(Point) - Method in interface csjs.shapes.GeoSquareADT
 
set(Point) - Method in interface csjs.shapes.GeoRectangleADT
 
set(Point) - Method in class csjs.shapes.GeoRectangle
Sets the coordinates of the point
set(Point) - Method in class csjs.shapes.GeoCircle
Sets the coordinates of the point
set(Point) - Method in interface csjs.shapes.GeoCircleADT
 
Shape - class csjs.shapes.Shape.
A 'shape' is a 2-dimensional object
Shape() - Constructor for class csjs.shapes.Shape
 
ShapeADT - interface csjs.shapes.ShapeADT.
A 'shape' is a 2-dimentional object with area and perimeter.
shrink(double) - Method in class csjs.shapes.GeoSquare
Shrink this square by diminishing its side by the given number.
shrink(double) - Method in class csjs.shapes.GeoCircle
Shrink this geocircle by diminishing its radius by the given number.
shrink(double) - Method in class csjs.shapes.Circle
Shrink this circle by diminishing its radius by the given number.
shrink(double) - Method in interface csjs.shapes.CircleADT
 
shrink(double) - Method in interface csjs.shapes.SquareADT
 
shrink(double) - Method in class csjs.shapes.Square
Shrink this square by diminishing its side by the given number.
shrinkHeight(double) - Method in class csjs.shapes.GeoRectangle
Shrink this rectangle by diminishing its height by the given number.
shrinkHeight(double) - Method in class csjs.shapes.Rectangle
Shrink this rectangle by diminishing its height by the given number.
shrinkHeight(double) - Method in interface csjs.shapes.RectangleADT
 
shrinkWidth(double) - Method in class csjs.shapes.GeoRectangle
Shrink this rectangle by diminishing its width by the given number.
shrinkWidth(double) - Method in class csjs.shapes.Rectangle
Shrink this rectangle by diminishing its width by the given number.
shrinkWidth(double) - Method in interface csjs.shapes.RectangleADT
 
side() - Method in class csjs.shapes.GeoSquare
Returns the side length of this square.
side() - Method in interface csjs.shapes.SquareADT
 
side() - Method in class csjs.shapes.Square
Returns the side length of this square.
Square - class csjs.shapes.Square.
A 'square' is modeled in terms of its side length, a real number.
Square(double) - Constructor for class csjs.shapes.Square
Create a square.
SquareADT - interface csjs.shapes.SquareADT.
A 'square' is a shape with a 'side' property of type 'double'

T

toString() - Method in class csjs.shapes.GeoSquare
Return a description of this square.
toString() - Method in class csjs.shapes.GeoRectangle
Return a description of this rectangle.
toString() - Method in class csjs.shapes.Rectangle
Return a description of this rectangle.
toString() - Method in class csjs.shapes.GeoCircle
Write a description of this geocircle to the standard output file.
toString() - Method in class csjs.shapes.Circle
Return a description of this circle.
toString() - Method in class csjs.shapes.Square
Return a description of this square.
toString() - Method in interface csjs.shapes.ShapeADT
 

W

width() - Method in class csjs.shapes.GeoRectangle
Returns the width of this rectangle.
width() - Method in class csjs.shapes.Rectangle
Returns the width of this rectangle.
width() - Method in interface csjs.shapes.RectangleADT
 

A C D E G H P R S T W