head	1.14;
access;
symbols
	bobbase:1.12
	bob:1.12.1
	r2_1:1.9
	r2_0:1.9
	r1_1_beta:1.9
	r1_1_alpha:1.9
	r1_0:1.9
	r0_11:1.9
	r0_10:1.9
	r0_9:1.9
	Eglin_alpha_1:1.8;
locks
	thoth:1.12.1.1; strict;
comment	@// @;


1.14
date	94.12.07.19.41.17;	author ljr;	state Exp;
branches;
next	1.13;

1.13
date	94.11.29.22.16.46;	author fjsoria;	state Exp;
branches;
next	1.12;

1.12
date	94.11.10.19.53.56;	author ljr;	state Exp;
branches
	1.12.1.1;
next	1.11;

1.11
date	94.11.10.19.25.55;	author fjsoria;	state Exp;
branches;
next	1.10;

1.10
date	94.10.06.17.39.00;	author fjsoria;	state Exp;
branches;
next	1.9;

1.9
date	93.08.08.13.10.32;	author thoth;	state Exp;
branches;
next	1.8;

1.8
date	93.05.28.16.13.56;	author thoth;	state Exp;
branches;
next	1.7;

1.7
date	93.05.26.16.40.45;	author thoth;	state Exp;
branches;
next	1.6;

1.6
date	92.12.16.14.47.53;	author thoth;	state Exp;
branches;
next	1.5;

1.5
date	92.12.07.12.05.05;	author thoth;	state Exp;
branches;
next	1.4;

1.4
date	92.09.30.10.23.05;	author thoth;	state Exp;
branches;
next	1.3;

1.3
date	92.09.03.13.31.45;	author thoth;	state Exp;
branches;
next	1.2;

1.2
date	92.08.26.13.41.53;	author thoth;	state Exp;
branches;
next	1.1;

1.1
date	92.08.23.13.29.25;	author thoth;	state Exp;
branches;
next	;

1.12.1.1
date	95.02.06.19.04.21;	author thoth;	state Exp;
branches;
next	;


desc
@CFrontified version
@


1.14
log
@changed erroneous #ifdef 0 to #if 0
@
text
@// Emacs: -*- C++ -*-

//
//	Copyright 1993, Center for Computer Vision and Visualization,
//	University of Florida.  All rights reserved.
//

#ifndef IA_NO_RCS_STATIC_DATA
static char copyright[] = "Copyright 1993, Center for Computer Vision and Visualization,\nUniversity of Florida.  All rights reserved.\n";

//static char rcsid[] = "$Id: BasePS.c,v 1.13 1994/11/29 22:16:46 fjsoria Exp ljr $";
#endif

// 
// $Log: BasePS.c,v $
// Revision 1.13  1994/11/29  22:16:46  fjsoria
// hashed_managed_delete() is now  used to clean up not delete_domain
//
// Revision 1.12  1994/11/10  19:53:56  ljr
// Added IA_NO_RCS_STATIC_DATA guard.
//
// Revision 1.11  1994/11/10  19:25:55  fjsoria
// *** empty log message ***
//
// Revision 1.10  1994/10/06  17:39:00  fjsoria
// commented rscid[] line
//
// Revision 1.9  1993/08/08  13:10:32  thoth
// deInline some of the fallback virtual functions.
//
// Revision 1.8  93/05/28  16:13:56  thoth
// eliminate with-ia-pointset dependency.
// 
// Revision 1.7  93/05/26  16:40:45  thoth
// Copyright Notices.
// 
// Revision 1.6  92/12/16  14:47:53  thoth
// conversion to IA_ mostly complete
// 
// Revision 1.5  92/12/07  12:05:05  thoth
// new IntPoint index(unsigned) operation for use with "other" iterators.
// 
// Revision 1.4  92/09/30  10:23:05  thoth
// BasePS is now templatized
// 
// Revision 1.3  92/09/03  13:31:45  thoth
// *** empty log message ***
// 
// Revision 1.2  92/08/26  13:41:53  thoth
// meaningful exception types
// 
// Revision 1.1  92/08/23  13:29:25  thoth
// Initial revision
// 
// 


#ifdef IA_PRII
#pragma implementation "BasePS.h"
#endif

#include "BasePS.h"
// g++ is having problems with the following as out lines so they are now
// inlines in BasePS.h 

#if 0
template <class P_t>
unsigned IA_BasePS<P_t>::index(const P_t&) const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
#if 0
    // we should put this var in class IA
    return PS_t::index_of_uncontained;
#else
    return ~0;
#endif
}

template <class P_t>
P_t IA_BasePS<P_t>::index(unsigned) const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
#if 0
    // we should put this var in class IA
    return PS_t::index_of_uncontained;
#else
    return ~0;
#endif
}


template <class P_t>
P_t IA_BasePS<P_t>:: min() const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
    return P_t();
}


template <class P_t>
P_t IA_BasePS<P_t>:: max() const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
    return P_t();
}

template <class P_t>
P_t IA_BasePS<P_t>:: inf() const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
    return P_t();
}

template <class P_t>
P_t IA_BasePS<P_t>:: sup() const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
    return P_t();
}

template <class P_t>
P_t IA_BasePS<P_t>:: choice() const {
    ia_throw(IA::PSET_REQUIRE_EXTENSIVE,__FILE__,__LINE__);
    return P_t();
}

//template <class P_t>
//void hash_managed_delete(IA_BasePS<P_t> *){}

#endif
@


1.13
log
@hashed_managed_delete() is now  used to clean up not delete_domain
@
text
@d11 1
a11 1
//static char rcsid[] = "$Id: BasePS.c,v 1.12 1994/11/10 19:53:56 ljr Exp fjsoria $";
d16 3
d66 1
a66 1
#ifdef 0
@


1.12
log
@Added IA_NO_RCS_STATIC_DATA guard.
@
text
@d11 1
a11 1
static char rcsid[] = "$Id: BasePS.c,v 1.11 1994/11/10 19:25:55 fjsoria Exp ljr $";
d16 3
d60 2
d63 1
d93 1
d117 5
@


1.12.1.1
log
@Conversion to throws of classes instead of enums.
new reflect_through_origin() method.
@
text
@d8 6
a15 3
// Revision 1.12  1994/11/10  19:53:56  ljr
// Added IA_NO_RCS_STATIC_DATA guard.
//
a56 1
#include "LazyPS.h"
a57 2
#include "pset_errors.h"

d60 1
a60 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d71 1
a71 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d83 1
a83 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d89 1
a89 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d95 1
a95 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d101 1
a101 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
d107 1
a107 1
    ia_throw(Pointset_RequireExtensive_Exception(__FILE__,__LINE__));
a108 5
}

template <class P_t>
IA_BasePS<P_t> *IA_BasePS<P_t>:: reflect_through_origin() const {
    return new IA_LazyOriginReflectionPS<P_t>(this);
@


1.11
log
@*** empty log message ***
@
text
@d8 2
a9 1
//static char copyright[] = "Copyright 1993, Center for Computer Vision and Visualization,\nUniversity of Florida.  All rights reserved.\n";
d11 2
a12 1
//static char rcsid[] = "$Id: BasePS.c,v 1.10 1994/10/06 17:39:00 fjsoria Exp fjsoria $";
d16 3
@


1.10
log
@commented rscid[] line
@
text
@d10 1
a10 1
//static char rcsid[] = "$Id: BasePS.c,v 1.9 1993/08/08 13:10:32 thoth Exp fjsoria $";
d14 3
d46 1
a46 1
#include "BasePS.h"
d48 1
a48 1
#pragma implementation
d50 2
@


1.9
log
@deInline some of the fallback virtual functions.
@
text
@d8 1
a8 1
static char copyright[] = "Copyright 1993, Center for Computer Vision and Visualization,\nUniversity of Florida.  All rights reserved.\n";
d10 1
a10 1
static char rcsid[] = "$Id: BasePS.c,v 1.8 93/05/28 16:13:56 thoth Exp Locker: thoth $";
d13 4
a16 1
// $Log:	BasePS.c,v $
@


1.8
log
@eliminate with-ia-pointset dependency.
@
text
@d10 1
a10 1
static char rcsid[] = "$Id: BasePS.c,v 1.7 93/05/26 16:40:45 thoth Exp Locker: thoth $";
d14 3
d65 31
@


1.7
log
@Copyright Notices.
@
text
@d10 1
a10 1
static char rcsid[] = "$Id: BasePS.c,v 1.6 92/12/16 14:47:53 thoth Exp Locker: thoth $";
d14 3
a40 2

#include "with-ia-pointset-P.h"
@


1.6
log
@conversion to IA_ mostly complete
@
text
@a1 1
static char rcsid[] = "$Id: BasePS.c,v 1.5 92/12/07 12:05:05 thoth Exp Locker: thoth $";
d3 9
d14 3
@


1.5
log
@new IntPoint index(unsigned) operation for use with "other" iterators.
@
text
@d2 1
a2 1
static char rcsid[] = "$Id: BasePS.c,v 1.4 92/09/30 10:23:05 thoth Exp Locker: thoth $";
d6 3
d28 2
d31 1
a31 1
unsigned BasePS<P_t>::index(const P_t&) const {
d42 1
a42 1
P_t BasePS<P_t>::index(unsigned) const {
@


1.4
log
@BasePS is now templatized
@
text
@d2 1
a2 1
static char rcsid[] = "$Id: BasePS.c,v 1.3 92/09/03 13:31:45 thoth Exp Locker: thoth $";
d6 3
d27 11
@


1.3
log
@*** empty log message ***
@
text
@d2 1
a2 1
static char rcsid[] = "$Id: BaseIPS.C,v 1.2 92/08/26 13:41:53 thoth Exp Locker: thoth $";
d5 4
a8 1
// $Log:	BaseIPS.C,v $
d17 1
a17 1
#include "BaseIPS.h"
d22 2
a23 3
#include "IntPointSet.h"

unsigned BaseIPS::index(const IntPoint&) const {
d25 6
a30 1
    return IntPointSet::index_of_uncontained;
@


1.2
log
@meaningful exception types
@
text
@d2 1
a2 1
static char rcsid[] = "$Id: BaseIPS.C,v 1.1 92/08/23 13:29:25 thoth Exp Locker: thoth $";
d6 3
a17 13

/*

  This file exists only to give a single home to:

  + the virtual function table pointer for the Base Integer Point Set

  + object code for inline functions mentioned in the header files such
  as dim and card

  + and this one stupid function that needs stuff from IntPointSet.h

  */
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
static char rcsid[] = "$Id: BaseIPS.cc,v 1.3 92/08/14 15:45:03 thoth Exp $";
d5 3
a7 1
// $Log:	BaseIPS.cc,v $
d9 1
d32 1
a32 1
    ia_throw(IA::INVALID_OPERATION,__FILE__,__LINE__);
@
