00001 //$Header: /home/ben/Mapper/include/RCS/assoc.h,v 6.4 2002/06/14 23:23:14 ben Exp $
00002 #ifndef ASSOC_H
00003 #define ASSOC_H
00004 // Copyright Benedict Adamson 2002.
00005 // This file is part of Mapper.
00006
00007 // Mapper is free software; you can redistribute it and/or modify
00008 // it under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation; either version 2 of the License, or
00010 // (at your option) any later version.
00011
00012 // Mapper is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00015 // GNU General Public License for more details.
00016
00017 // You should have received a copy of the GNU General Public License
00018 // along with Mapper; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00031 class angle_constraint;
00032 class bearing_constraint;
00033 class curve;
00034 class distance_constraint;
00035 class vector2;
00036 class through_constraint;
00037 class vector_constraint;
00038
00039
00040
00058 void assoc(
00059 angle_constraint &c,
00060 vector2 &p0,
00061 vector2 &p1,
00062 vector2 &p1
00063 );
00064
00065
00066
00082 void assoc(
00083 bearing_constraint &c,
00084 vector2 &p0,
00085 vector2 &p1
00086 );
00087
00088
00089
00105 void assoc(
00106 distance_constraint &c,
00107 vector2 &p0,
00108 vector2 &p1
00109 );
00110
00111
00112
00132 void assoc(
00133 through_constraint &tc,
00134 curve &cu,
00135 vector2 &p
00136 );
00137
00138
00139
00154 void assoc(
00155 vector_constraint &c,
00156 vector2 &p0,
00157 vector2 &p1
00158 );
00159
00160
00161
00172 void unassoc(
00173 angle_constraint &c
00174 );
00175
00176
00177
00187 void unassoc(
00188 bearing_constraint &c
00189 );
00190
00191
00192
00202 void unassoc(
00203 distance_constraint &c
00204 );
00205
00206
00207
00218 void unassoc(
00219 through_constraint &c
00220 );
00221
00222
00223
00233 void unassoc(
00234 vector_constraint &c
00235 );
00236
00237 #endif