class figure

Abstract base class to define a figure

Inheritance:


Public Methods

void get_loc()
Definition of interface for method to return the figure location.
void set_loc(double i=0, double j=0)
Definition of interface for method to set the figure location.
virtual void show_area()
Definition of interface for method to return the figure area.

Protected Fields

double xdim
Dimension of figure along axis x
double xloc
Location of figure along x axis
double ydim
Dimension of figure along axis y
double yloc
Location of figure along y axis

Documentation

Abstract base class to define a figure
double xdim
Dimension of figure along axis x

double ydim
Dimension of figure along axis y

double xloc
Location of figure along x axis

double yloc
Location of figure along y axis

void set_loc(double i=0, double j=0)
Definition of interface for method to set the figure location.

void get_loc()
Definition of interface for method to return the figure location.

virtual void show_area()
Definition of interface for method to return the figure area.


Direct child classes:
triangle
square
rectangle
circle

alphabetic index hierarchy of classes


This page has been generated automatically

by N.A. Graf doc++.