head	1.2;
access;
symbols;
locks; strict;
comment	@// @;


1.2
date	94.09.02.02.02.28;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.09.01.00.12.56;	author rjj;	state Exp;
branches;
next	;


desc
@Placing under RCS.  This should be the source corresponding to UM 1.0
@


1.2
log
@Modified include files to be iac++ v2.0 compliant.
@
text
@// printIPS.c      Subroutine to print int point sets.

#include "IntPS.h"
#include "PSIter.h"

typedef IA_PSIter<IA_Point<int> > IA_IPSIter;

void printIPS( const IA_Set<IA_Point<int> > & ips ) {
    IA_Point<int> ip;
    IA_IPSIter    iter(ips); // iter is an iterator over the points in ips

    cout << "{";
    for(iter(ip);;) {             // Get first point
	cout << ip;               // Print it
	if (iter(ip) == 0) break; // Check (and get) next point OR exit
	cout << ", ";             // Print comma for the new point
    }
    cout << "}";
}
@


1.1
log
@Initial revision
@
text
@a0 2
// Emacs: -*- C++ -*-

d3 1
a3 1
#include "IntPointSet.h"
@
