00001 /* -*-C-*- 00002 ******************************************************************************** 00003 * 00004 * File: hideedge.h (Formerly hideedge.h) 00005 * Description: 00006 * Author: Mark Seaman, SW Productivity 00007 * Created: Fri Oct 16 14:37:00 1987 00008 * Modified: Tue Apr 30 12:49:57 1991 (Mark Seaman) marks@hpgrlt 00009 * Language: C 00010 * Package: N/A 00011 * Status: Reusable Software Component 00012 * 00013 * (c) Copyright 1987, Hewlett-Packard Company. 00014 ** Licensed under the Apache License, Version 2.0 (the "License"); 00015 ** you may not use this file except in compliance with the License. 00016 ** You may obtain a copy of the License at 00017 ** http://www.apache.org/licenses/LICENSE-2.0 00018 ** Unless required by applicable law or agreed to in writing, software 00019 ** distributed under the License is distributed on an "AS IS" BASIS, 00020 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00021 ** See the License for the specific language governing permissions and 00022 ** limitations under the License. 00023 * 00024 ******************************************************************************** 00025 */ 00026 00027 #ifndef HIDEEDGE_H 00028 #define HIDEEDGE_H 00029 00030 /* 00031 ---------------------------------------------------------------------- 00032 I n c l u d e s 00033 ---------------------------------------------------------------------- 00034 */ 00035 00036 #include "general.h" 00037 00038 /* 00039 ---------------------------------------------------------------------- 00040 M a c r o s 00041 ---------------------------------------------------------------------- 00042 */ 00043 00044 /********************************************************************** 00045 * is_hidden_edge 00046 * 00047 * Check to see if this edge is a hidden edge. This will prohibit 00048 * feature extraction and display functions on this edge. The 00049 * argument should be of type (EDGEPT*). 00050 **********************************************************************/ 00051 00052 #define is_hidden_edge(edge) \ 00053 /*(hidden_edges &&*/ (edge->flags[0]) /*) */ 00054 00055 /********************************************************************** 00056 * hide_edge 00057 * 00058 * Make this edge a hidden edge. This will prohibit feature extraction 00059 * and display functions on this edge. The argument should be of type 00060 * (EDGEPT*). 00061 **********************************************************************/ 00062 00063 #define hide_edge(edge) \ 00064 /*if (hidden_edges)*/ edge->flags[0] = TRUE 00065 00066 /********************************************************************** 00067 * reveal_edge 00068 * 00069 * Make this edge a unhidden edge. This will prohibit feature extraction 00070 * and display functions on this edge. The argument should be of type 00071 * (EDGEPT*). 00072 **********************************************************************/ 00073 00074 #define reveal_edge(edge) \ 00075 /*if (hidden_edges)*/ edge->flags[0] = FALSE 00076 #endif