cppGetMiddlePoints

UseCase3



// COM1205 Propagation Pattern for DemDraw Project.
//
// Created by Carlos Santiago (carlos@ccs.neu.edu)
//
// This propagation pattern will return a DemString* pointing to the
// Edge's middle points
//
(@
#include <iostream.h>
#include <strstream.h>
@)

*operation* DemString* cppGetMiddlePoints()
    *traverse*	
	*from* Edge 
	*through* -> *,middlepoints,*
	*to* Coordinates

  *wrapper* Coordinates
     *prefix*
     (@
	return_val =  this->get_coords();
     @)