class rectangle : public <!1>figure

Concrete figure rectangle

Inheritance:


Public Methods

rectangle(double i=0, double j=0)
Rectangle Constructor takes length and width as arguments
void show_area()
Method to return the area of a rectangle
~rectangle()
Rectangle Destructor

Inherited from figure:

Public Methods

void get_loc()
void set_loc(double i=0, double j=0)

Protected Fields

double xdim
double xloc
double ydim
double yloc

Documentation

Concrete figure rectangle
rectangle(double i=0, double j=0)
Rectangle Constructor takes length and width as arguments

void show_area()
Method to return the area of a rectangle

~rectangle()
Rectangle Destructor


This class has no child classes.

alphabetic index hierarchy of classes


This page has been generated automatically

by N.A. Graf doc++.