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


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

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


desc
@Initial control version.
@


1.2
log
@Modifed includes to conform with iac++ v2.0.
Modifed enorm() call to use the non-member function version.
@
text
@// shaped-pointset.h
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
//
// Define some commonly useful point set shapes.

#ifndef IA_shaped_pointset_h_
#define IA_shaped_pointset_h_

#include "IntPS.h"


////////////////////////////////////////////////////////////////////////
// Here we define some functions to create various sizes of shaped
//      pointsets.
// While it would be possible to define a class IA_ShapedPS, derived
//      from IA_Set, it is not clear what benefit that might have for
//      now, so we will just defined functions that will return the
//      correct IA_Set<P>


// A point set centered at start_point, with North-South & East-West
//   arms of equal length
//
// cross_hair( apoint, 0 ) returns a point set that only contains apoint.
IA_Set<IA_Point<int> >
cross_hair( const IA_Point<int> & start_point,
	    unsigned int radius );


// Return an extensive pointset of the appropriate diameter, centered
//   at center.  The pointset contains all points that are of distance
//   less than or equal (<=) to center.
//
IA_Set<IA_Point<int> >
digital_disc( const IA_Point<int> & center, double radius );

#endif
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
#include "IntPointSet.h"
@
