class triangle : public <!1>figure

Concrete figure triangle

Inheritance:


Public Methods

void show_area()
Method to return the area of a triangle
triangle(double i=0, double j=0)
Triangle Constructor takes height and width as arguments
~triangle()
Triangle 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 triangle
triangle(double i=0, double j=0)
Triangle Constructor takes height and width as arguments

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

~triangle()
Triangle Destructor


This class has no child classes.

alphabetic index hierarchy of classes


This page has been generated automatically

by N.A. Graf doc++.