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


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


desc
@Initial verion of code defining dual's for templates. Still needs work.
@


1.1
log
@Initial revision
@
text
@// test-dual.c         Section: 5.7
//     Copyright 1994, Center for Computer Vision and Visualization,
//     University of Florida.  All rights reserved.


#include "dual.h"


int main() {

    IA_Image<IA_Point<int>,int>
	one( IA_boxy_pset( IA_Point<int>( -1, -1 ),
			   IA_Point<int>(  1,  1 ) ),
	     1 );

    IA_DDTemplate< IA_Image<IA_Point<int>,int> >
	t( 2, one );

    DualTemplate<IA_Point<int>,int>
	dual_t( t );


    IA_Point<int>
	origin( 0, 0 );

    cout << t(origin)(origin) << endl;
    cout << dual_t(origin)(origin) << endl;

    exit( 0 );
}
@
