head	1.3;
access
	monica
	thoth;
symbols;
locks
	monica:1.3; strict;
comment	@// @;


1.3
date	94.08.24.00.30.59;	author monica;	state Exp;
branches;
next	1.2;

1.2
date	94.08.24.00.02.50;	author monica;	state Exp;
branches;
next	1.1;

1.1
date	92.11.13.13.48.35;	author jnw;	state Exp;
branches;
next	;


desc
@initial revision
@


1.3
log
@int main & exit(0)
@
text
@// Emacs: -*- C++ -*-
static char test002rcsid[] = "$Id: test003.c,v 1.2 1994/08/24 00:02:50 monica Exp monica $";

//
// $Log: test003.c,v $
//Revision 1.2  1994/08/24  00:02:50  monica
//added int main & return 0;
//
// Revision 1.1  1992/11/13  13:48:35  jnw
// Initial revision
//

#include <stream.h>

#include <stdlib.h>

#include "IntPointSet.h"
#include "SetStructure.h"


int main()
{
    IntPointSet ps1(IntPoint(0,0),IntPoint(3,3)),
	ps2(IntPoint(1,1),IntPoint(2,2));

    
    SetStructure ss;
    IntPointSet newps(intersect_with_structure(ps1,ps2, &ss));

    cerr << " Number of intervals: " << ss.nintervals() << "\n";

    return 0;
}

@


1.2
log
@added int main & return 0;
@
text
@d2 1
a2 1
static char test002rcsid[] = "$Id: test003.c,v 1.1 1992/11/13 13:48:35 jnw Exp monica $";
d6 3
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
static char test002rcsid[] = "$Id$";
d5 4
a8 1
// $Log$
d18 1
a18 1
main()
d28 2
@
