concept_archetype_interface_macros.h

来自「CGAL is a collaborative effort of severa」· C头文件 代码 · 共 1,042 行 · 第 1/3 页

H
1,042
字号
// Copyright (c) 1999,2003  Utrecht University (The Netherlands),// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),// and Tel-Aviv University (Israel).  All rights reserved.//// This file is part of CGAL (www.cgal.org); you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public License as// published by the Free Software Foundation; version 2.1 of the License.// See the file LICENSE.LGPL distributed with CGAL.//// Licensees holding a valid commercial license may use this file in// accordance with the commercial license agreement provided with the software.//// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.//// $Source: /CVSROOT/CGAL/Packages/Kernel_23/include/CGAL/Kernel/concept_archetype_interface_macros.h,v $// $Revision: 1.14 $ $Date: 2004/09/13 13:00:12 $// $Name:  $//// Author(s)     : Matthias Baesken// for the original version see Kernel/interface_macros.h// This file is intentionally not protected against re-inclusion.// It's aimed at being included from within a kernel traits class, this// way we share more code.// It is the responsability of the including file to correctly set the 2// macros CGAL_Kernel_pred and CGAL_Kernel_cons.// And they are #undefed at the end of this file.#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_ANGLE_2)CGAL_Kernel_pred(Angle_2,		 angle_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_ANGLE_3)CGAL_Kernel_pred(Angle_3,		 angle_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_ORDERED_ALONG_LINE_2)CGAL_Kernel_pred(Are_ordered_along_line_2,		 are_ordered_along_line_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_ORDERED_ALONG_LINE_3)CGAL_Kernel_pred(Are_ordered_along_line_3,		 are_ordered_along_line_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_PARALLEL_2)CGAL_Kernel_pred(Are_parallel_2,		 are_parallel_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_PARALLEL_3)CGAL_Kernel_pred(Are_parallel_3,		 are_parallel_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_STRICTLY_ORDERED_ALONG_LINE_2)CGAL_Kernel_pred(Are_strictly_ordered_along_line_2,		 are_strictly_ordered_along_line_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_ARE_STRICTLY_ORDERED_ALONG_LINE_3)CGAL_Kernel_pred(Are_strictly_ordered_along_line_3,		 are_strictly_ordered_along_line_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_ASSIGN_2)CGAL_Kernel_cons(Assign_2,		 assign_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_ASSIGN_3)CGAL_Kernel_cons(Assign_3,		 assign_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_BOUNDED_SIDE_2)CGAL_Kernel_pred(Bounded_side_2,		 bounded_side_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_BOUNDED_SIDE_3)CGAL_Kernel_pred(Bounded_side_3,		 bounded_side_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COLLINEAR_ARE_ORDERED_ALONG_LINE_2)CGAL_Kernel_pred(Collinear_are_ordered_along_line_2,		 collinear_are_ordered_along_line_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COLLINEAR_ARE_ORDERED_ALONG_LINE_3)CGAL_Kernel_pred(Collinear_are_ordered_along_line_3,		 collinear_are_ordered_along_line_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COLLINEAR_ARE_STRICTLY_ORDERED_ALONG_LINE_2)CGAL_Kernel_pred(Collinear_are_strictly_ordered_along_line_2,		 collinear_are_strictly_ordered_along_line_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COLLINEAR_ARE_STRICTLY_ORDERED_ALONG_LINE_3)CGAL_Kernel_pred(Collinear_are_strictly_ordered_along_line_3,		 collinear_are_strictly_ordered_along_line_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COLLINEAR_HAS_ON_2)CGAL_Kernel_pred(Collinear_has_on_2,		 collinear_has_on_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COLLINEAR_2)CGAL_Kernel_pred(Collinear_2,		 collinear_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COLLINEAR_3)CGAL_Kernel_pred(Collinear_3,		 collinear_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPARE_ANGLE_WITH_X_AXIS_2)CGAL_Kernel_pred(Compare_angle_with_x_axis_2,		 compare_angle_with_x_axis_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPARE_DISTANCE_2)CGAL_Kernel_pred(Compare_distance_2,		 compare_distance_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPARE_DISTANCE_3)CGAL_Kernel_pred(Compare_distance_3,		 compare_distance_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPARE_SLOPE_2)CGAL_Kernel_pred(Compare_slope_2,		 compare_slope_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPARE_X_AT_Y_2)CGAL_Kernel_pred(Compare_x_at_y_2,		 compare_x_at_y_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_XYZ_3)CGAL_Kernel_pred(Compare_xyz_3,		 compare_xyz_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_XY_2)CGAL_Kernel_pred(Compare_xy_2,		 compare_xy_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_XY_3)CGAL_Kernel_pred(Compare_xy_3,		 compare_xy_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_X_2)CGAL_Kernel_pred(Compare_x_2,		 compare_x_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_X_3)CGAL_Kernel_pred(Compare_x_3,		 compare_x_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_Y_AT_X_2)CGAL_Kernel_pred(Compare_y_at_x_2,		 compare_y_at_x_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_Y_2)CGAL_Kernel_pred(Compare_y_2,		 compare_y_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_Y_3)CGAL_Kernel_pred(Compare_y_3,		 compare_y_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPARE_Z_3)CGAL_Kernel_pred(Compare_z_3,		 compare_z_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPUTE_AREA_2)CGAL_Kernel_cons(Compute_area_2,		 compute_area_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPUTE_AREA_2)CGAL_Kernel_cons(Compute_area_3,		 compute_area_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \     defined(CGAL_CA_COMPUTE_SCALAR_PRODUCT_2)CGAL_Kernel_cons(Compute_scalar_product_2,		 compute_scalar_product_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \     defined(CGAL_CA_COMPUTE_SCALAR_PRODUCT_3)CGAL_Kernel_cons(Compute_scalar_product_3,		 compute_scalar_product_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || defined(CGAL_CA_COMPUTE_AREA_3)CGAL_Kernel_cons(Compute_squared_area_3,		 compute_squared_area_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_DISTANCE_2)CGAL_Kernel_cons(Compute_squared_distance_2,		 compute_squared_distance_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_DISTANCE_3)CGAL_Kernel_cons(Compute_squared_distance_3,		 compute_squared_distance_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_LENGTH_2)CGAL_Kernel_cons(Compute_squared_length_2,		 compute_squared_length_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_LENGTH_3)CGAL_Kernel_cons(Compute_squared_length_3,		 compute_squared_length_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_RADIUS_2)CGAL_Kernel_cons(Compute_squared_radius_2,		 compute_squared_radius_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_SQUARED_RADIUS_3)CGAL_Kernel_cons(Compute_squared_radius_3,		 compute_squared_radius_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_COMPUTE_VOLUME_3)CGAL_Kernel_cons(Compute_volume_3,		 compute_volume_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_BASE_VECTOR_3)CGAL_Kernel_cons(Construct_base_vector_3,		 construct_base_vector_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_BISECTOR_2)CGAL_Kernel_cons(Construct_bisector_2,		 construct_bisector_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_BISECTOR_3)CGAL_Kernel_cons(Construct_bisector_3,		 construct_bisector_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CENTER_2)CGAL_Kernel_cons(Construct_center_2,		 construct_center_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CENTER_3)CGAL_Kernel_cons(Construct_center_3,		 construct_center_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CENTROID_2)CGAL_Kernel_cons(Construct_centroid_2,		 construct_centroid_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CENTROID_3)CGAL_Kernel_cons(Construct_centroid_3,		 construct_centroid_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CIRCLE_2)CGAL_Kernel_cons(Construct_circle_2,		 construct_circle_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CIRCUMCENTER_2)CGAL_Kernel_cons(Construct_circumcenter_2,		 construct_circumcenter_2_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CIRCUMCENTER_3)CGAL_Kernel_cons(Construct_circumcenter_3,		 construct_circumcenter_3_object)#endif#if !defined(CGAL_CA_LIMITED_INTERFACE) || \    defined(CGAL_CA_CONSTRUCT_CROSS_PRODUCT_VECTOR_3)CGAL_Kernel_cons(Construct_cross_product_vector_3,		 construct_cross_product_vector_3_object)#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?