home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir07
/
f011880.re_
/
f011880.re
Wrap
Text File
|
1996-04-02
|
3KB
|
84 lines
/*----------------------------------------------------------------------+
| |
| Copyright (1994) Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley |
| Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| mscompge.fdf -- MDL Computational Geometry library |
| |
| $Logfile: I:/mgds/include/publish/mscompge.fdv $
| $Workfile: mscompge.fdf $
| $Revision: 1.4 $
| $Date: 06 Oct 1995 17:03:04 $
| |
+----------------------------------------------------------------------*/
#if !defined (__mscompgeFDF__)
#define __mscompgeFDF__
/*----------------------------------------------------------------------+
| |
| Header File Dependencies |
| |
+----------------------------------------------------------------------*/
#if !defined (__basetypeH__)
#include <basetype.h>
#endif
#if !defined (__mscompgeH__)
#include <mscompge.h>
#endif
/*======================================================================+
| |
| Major Public Code Section |
| |
+======================================================================*/
Public int mdlCompGeom_simpleClosedPath2d
(
Dpoint3d *points, /* <=> sorted in place */
int numPoints /* => number of points */
);
Public int mdlCompGeom_convexHull2d
(
Dpoint3d **outPtsPP, /* <=> convex hull points */
int *outNumP, /* <=> number of points in convex hull */
Dpoint3d *intPtsP, /* => points to contain */
int inNum, /* => number of points */
int showCompletionBar, /* => TRUE == show completion bar */
char *messageP /* => text to show in completion bar */
);
Public int mdlCompGeom_zone2d
(
Dpoint3d ***resultsArraysPPP, /* <=> array of output loops */
double **areaArrayPP, /* <=> area of output loops, or NULL */
int **numResultsArrayPP, /* <=> number of points in each output loop */
int *numResultsP, /* <=> number of output loops */
Dpoint3d **inputsPP, /* => array of input loops */
int *numInputsArrayP, /* => number of points in each input loop */
double *radiusP, /* => zone radius for each input loop */
short *flagP, /* => operation flag for each input loop */
int numInputs, /* => number of input loops */
double tolerance /* => tolerance used to stroke arcs */
);
/*======================================================================+
| |
| Minor Code Section |
| |
+======================================================================*/
#endif /* !defined (__mscompgeFDF__) */