circle.cpp 1/8

[
top][prev][next]
#include "circle.h"


circle.h 2/8

[
top][prev][next]
#ifndef CIRCLE_H
#define CIRCLE_H

#include "point.h"

class Circle {
  // Associations
  // Attributes
  private:
    Point origin;
    double radius;
  // Operations
};

#endif

point.cpp 3/8

[
top][prev][next]
#include "point.h"


point.h 4/8

[
top][prev][next]
#ifndef POINT_H
#define POINT_H


class Point {
  // Associations
  // Attributes
  private:
    double x;
    double y;
  // Operations
};

#endif

polygon.cpp 5/8

[
top][prev][next]
#include "polygon.h"


polygon.h 6/8

[
top][prev][next]
#ifndef POLYGON_H
#define POLYGON_H

#include "segment.h"

class Polygon {
  // Associations
   Segment segments;
  // Attributes
  // Operations
};

#endif

segment.cpp 7/8

[
top][prev][next]
#include "segment.h"


segment.h 8/8

[
top][prev][next]
#ifndef SEGMENT_H
#define SEGMENT_H

#include "point.h"

class Segment {
  // Associations
   Point ends;
  // Attributes
  // Operations
};

#endif

Generated by GNU enscript 1.6.1.