- Move the M$VC workaroud macros inside the protect macro, and after the

includes.
This commit is contained in:
Sylvain Pion 1999-11-02 14:01:28 +00:00
parent 08599dbf80
commit 5da91eef8f
25 changed files with 122 additions and 118 deletions

View File

@ -20,6 +20,12 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_2_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_2_C
#include <CGAL/determinant.h>
#include <CGAL/Cartesian/Aff_transformation_rep_2.C>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,12 +34,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_2_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_2_C
#include <CGAL/determinant.h>
#include <CGAL/Cartesian/Aff_transformation_rep_2.C>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -71,7 +71,6 @@ public:
virtual std::ostream &print(std::ostream &os) const = 0;
};
template < class R >
class Aff_transformation_repC2
: public Aff_transformation_rep_baseC2<R>

View File

@ -20,6 +20,14 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_CIRCLE_2_C
#define CGAL_CARTESIAN_CIRCLE_2_C
#include <CGAL/Cartesian/constructions_on_points_2.h>
#include <CGAL/Cartesian/constructions_on_circles_2.h>
#include <CGAL/Cartesian/distance_computations_2.h>
#include <CGAL/Cartesian/predicates_on_points_2.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,14 +36,6 @@
#define typename
#endif
#include <CGAL/Cartesian/constructions_on_points_2.h>
#include <CGAL/Cartesian/constructions_on_circles_2.h>
#include <CGAL/Cartesian/distance_computations_2.h>
#include <CGAL/Cartesian/predicates_on_points_2.h>
#ifndef CGAL_CARTESIAN_CIRCLE_2_C
#define CGAL_CARTESIAN_CIRCLE_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -51,5 +51,4 @@ public:
CGAL_END_NAMESPACE
#endif // CGAL_CARTESIAN_CIRCLE_REP_2_H
#endif // CGAL_CARTESIAN_CIRCLE_REP_2_H

View File

@ -20,6 +20,9 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_DIRECTION_2_C
#define CGAL_CARTESIAN_DIRECTION_2_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_DIRECTION_2_C
#define CGAL_CARTESIAN_DIRECTION_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_ISO_RECTANGLE_2_C
#define CGAL_CARTESIAN_ISO_RECTANGLE_2_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_ISO_RECTANGLE_2_C
#define CGAL_CARTESIAN_ISO_RECTANGLE_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,12 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_LINE_2_C
#define CGAL_CARTESIAN_LINE_2_C
#include <CGAL/Cartesian/constructions_on_lines_2.h>
#include <CGAL/Cartesian/predicates_on_lines_2.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,12 +34,6 @@
#define typename
#endif
#include <CGAL/Cartesian/constructions_on_lines_2.h>
#include <CGAL/Cartesian/predicates_on_lines_2.h>
#ifndef CGAL_CARTESIAN_LINE_2_C
#define CGAL_CARTESIAN_LINE_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -23,6 +23,10 @@
#ifndef CGAL_CARTESIAN_POINT_2_C
#define CGAL_CARTESIAN_POINT_2_C
#include <CGAL/Origin.h>
#include <CGAL/Bbox_2.h>
#include <CGAL/number_utils.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -31,10 +35,6 @@
#define typename
#endif
#include <CGAL/Origin.h>
#include <CGAL/Bbox_2.h>
#include <CGAL/number_utils.h>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_RAY_2_C
#define CGAL_CARTESIAN_RAY_2_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_RAY_2_C
#define CGAL_CARTESIAN_RAY_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_SEGMENT_2_C
#define CGAL_CARTESIAN_SEGMENT_2_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_SEGMENT_2_C
#define CGAL_CARTESIAN_SEGMENT_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,11 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_TRIANGLE_2_C
#define CGAL_CARTESIAN_TRIANGLE_2_C
#include <CGAL/Cartesian/predicates_on_points_2.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#include <CGAL/Cartesian/predicates_on_points_2.h>
#ifndef CGAL_CARTESIAN_TRIANGLE_2_C
#define CGAL_CARTESIAN_TRIANGLE_2_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,11 @@
//
// ============================================================================
#ifndef CGAL_CARTESIAN_VECTOR_2_C
#define CGAL_CARTESIAN_VECTOR_2_C
#include <CGAL/Cartesian/Direction_2.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_2_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_VECTOR_2_C
#define CGAL_CARTESIAN_VECTOR_2_C
#include <CGAL/Cartesian/Direction_2.h>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,12 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_3_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_3_C
#include <CGAL/Cartesian/Aff_transformation_rep_3.C>
#include <CGAL/determinant.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,12 +34,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_3_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_3_C
#include <CGAL/Cartesian/Aff_transformation_rep_3.C>
#include <CGAL/determinant.h>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_REP_3_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_REP_3_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_AFF_TRANSFORMATION_REP_3_C
#define CGAL_CARTESIAN_AFF_TRANSFORMATION_REP_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ======================================================================
#ifndef CGAL_CARTESIAN_DIRECTION_3_C
#define CGAL_CARTESIAN_DIRECTION_3_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_DIRECTION_3_C
#define CGAL_CARTESIAN_DIRECTION_3_C
CGAL_BEGIN_NAMESPACE
template < class R >
@ -51,12 +51,14 @@ DirectionC3()
template < class R >
DirectionC3<R CGAL_CTAG>::
DirectionC3(const DirectionC3<R CGAL_CTAG> &d)
: Handle(d) {}
: Handle(d)
{}
template < class R >
DirectionC3<R CGAL_CTAG>::
DirectionC3(const typename DirectionC3<R CGAL_CTAG>::Vector_3 &v)
: Handle(v) {}
: Handle(v)
{}
template < class R >
DirectionC3<R CGAL_CTAG>::

View File

@ -20,14 +20,6 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
#ifdef CGAL_CFG_TYPENAME_BUG
#define typename
#endif
#ifndef CGAL_CARTESIAN_LINE_3_C
#define CGAL_CARTESIAN_LINE_3_C
@ -36,6 +28,14 @@
#include <CGAL/Cartesian/Plane_3.h>
#include <CGAL/Cartesian/constructions_on_lines_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
#ifdef CGAL_CFG_TYPENAME_BUG
#define typename
#endif
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,13 @@
//
// ======================================================================
#ifndef CGAL_CARTESIAN_PLANE_3_C
#define CGAL_CARTESIAN_PLANE_3_C
#include <CGAL/Cartesian/constructions_on_planes_3.h>
#include <CGAL/Cartesian/distance_computations_3.h>
#include <CGAL/Cartesian/predicates_on_planes_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,13 +35,6 @@
#define typename
#endif
#include <CGAL/Cartesian/constructions_on_planes_3.h>
#include <CGAL/Cartesian/distance_computations_3.h>
#include <CGAL/Cartesian/predicates_on_planes_3.h>
#ifndef CGAL_CARTESIAN_PLANE_3_C
#define CGAL_CARTESIAN_PLANE_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,13 @@
//
// ======================================================================
#ifndef CGAL_CARTESIAN_POINT_3_C
#define CGAL_CARTESIAN_POINT_3_C
#include <CGAL/Origin.h>
#include <CGAL/Bbox_3.h>
#include <CGAL/number_utils.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,13 +35,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_POINT_3_C
#define CGAL_CARTESIAN_POINT_3_C
#include <CGAL/Origin.h>
#include <CGAL/Bbox_3.h>
#include <CGAL/number_utils.h>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,11 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_RAY_3_C
#define CGAL_CARTESIAN_RAY_3_C
#include <CGAL/Cartesian/distance_computations_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#include <CGAL/Cartesian/distance_computations_3.h>
#ifndef CGAL_CARTESIAN_RAY_3_C
#define CGAL_CARTESIAN_RAY_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,11 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_SCALING_REP_3_H
#define CGAL_CARTESIAN_SCALING_REP_3_H
#include <CGAL/Cartesian/redefine_names_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_SCALING_REP_3_H
#define CGAL_CARTESIAN_SCALING_REP_3_H
#include <CGAL/Cartesian/redefine_names_3.h>
CGAL_BEGIN_NAMESPACE
template < class R >
@ -158,4 +158,8 @@ private:
CGAL_END_NAMESPACE
#ifdef CGAL_CFG_TYPENAME_BUG
#undef typename
#endif
#endif // CGAL_CARTESIAN_SCALING_REP_3_H

View File

@ -20,6 +20,11 @@
//
// ======================================================================
#ifndef CGAL_CARTESIAN_SEGMENT_3_C
#define CGAL_CARTESIAN_SEGMENT_3_C
#include <CGAL/Cartesian/distance_computations_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#include <CGAL/Cartesian/distance_computations_3.h>
#ifndef CGAL_CARTESIAN_SEGMENT_3_C
#define CGAL_CARTESIAN_SEGMENT_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_SPHERE_3_C
#define CGAL_CARTESIAN_SPHERE_3_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_SPHERE_3_C
#define CGAL_CARTESIAN_SPHERE_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,13 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_TETRAHEDRON_3_C
#define CGAL_CARTESIAN_TETRAHEDRON_3_C
#include <CGAL/Cartesian/solve_3.h>
#include <vector>
#include <functional>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,13 +35,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_TETRAHEDRON_3_C
#define CGAL_CARTESIAN_TETRAHEDRON_3_C
#include <CGAL/Cartesian/solve_3.h>
#include <vector>
#include <functional>
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,9 @@
//
// ==========================================================================
#ifndef CGAL_CARTESIAN_TRIANGLE_3_C
#define CGAL_CARTESIAN_TRIANGLE_3_C
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,9 +31,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_TRIANGLE_3_C
#define CGAL_CARTESIAN_TRIANGLE_3_C
CGAL_BEGIN_NAMESPACE
template < class R >

View File

@ -20,6 +20,11 @@
//
// ======================================================================
#ifndef CGAL_CARTESIAN_VECTOR_3_C
#define CGAL_CARTESIAN_VECTOR_3_C
#include <CGAL/Cartesian/Direction_3.h>
#ifndef CGAL_CARTESIAN_REDEFINE_NAMES_3_H
#define CGAL_CTAG
#endif
@ -28,11 +33,6 @@
#define typename
#endif
#ifndef CGAL_CARTESIAN_VECTOR_3_C
#define CGAL_CARTESIAN_VECTOR_3_C
#include <CGAL/Cartesian/Direction_3.h>
CGAL_BEGIN_NAMESPACE
template < class R >