#include "mfcpch.h"
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include "elst.h"
#include "polyblk.h"
#include "hpddef.h"
Go to the source code of this file.
#define INTERSECTING MAX_INT16 |
Definition at line 30 of file polyblk.cpp.
#define PBLOCK_LABEL_SIZE 150 |
* (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Definition at line 29 of file polyblk.cpp.
int lessthan | ( | const void * | first, | |
const void * | second | |||
) |
Return 1 if x of first is less than x of second.
Definition at line 367 of file polyblk.cpp.
Referenced by PB_LINE_IT::get_line().
00367 { 00368 ICOORDELT *p1 = (*(ICOORDELT **) first); 00369 ICOORDELT *p2 = (*(ICOORDELT **) second); 00370 00371 if (p1->x () < p2->x ()) 00372 return (-1); 00373 else if (p1->x () > p2->x ()) 00374 return (1); 00375 else 00376 return (0); 00377 }