home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir07 / f011880.re_ / f011880.re
Text File  |  1996-04-02  |  3KB  |  84 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1994) Bentley Systems, Inc., All rights reserved.        |
  4. |                                    |
  5. |  "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley    |
  6. |  Systems, Inc.                            |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   mscompge.fdf  -- MDL Computational Geometry library                |
  18. |                                    |
  19. |    $Logfile:   I:/mgds/include/publish/mscompge.fdv  $
  20. |   $Workfile:   mscompge.fdf  $
  21. |   $Revision:   1.4  $
  22. |          $Date:   06 Oct 1995 17:03:04  $
  23. |                                    |
  24. +----------------------------------------------------------------------*/
  25. #if !defined (__mscompgeFDF__)
  26. #define       __mscompgeFDF__
  27.  
  28. /*----------------------------------------------------------------------+
  29. |                                    |
  30. |   Header File Dependencies                        |
  31. |                                    |
  32. +----------------------------------------------------------------------*/
  33. #if !defined (__basetypeH__)
  34. #include <basetype.h>
  35. #endif
  36.  
  37. #if !defined (__mscompgeH__)
  38. #include <mscompge.h>
  39. #endif
  40.  
  41. /*======================================================================+
  42. |                                    |
  43. |   Major Public Code Section                        |
  44. |                                    |
  45. +======================================================================*/
  46. Public int    mdlCompGeom_simpleClosedPath2d
  47. (
  48. Dpoint3d        *points,            /* <=> sorted in place */
  49. int            numPoints            /* => number of points  */
  50. );
  51.  
  52. Public int    mdlCompGeom_convexHull2d
  53. (
  54. Dpoint3d        **outPtsPP,        /* <=> convex hull points */
  55. int            *outNumP,        /* <=> number of points in convex hull */
  56. Dpoint3d        *intPtsP,        /* => points to contain */
  57. int            inNum,            /* => number of points */
  58. int            showCompletionBar,    /* => TRUE == show completion bar */
  59. char            *messageP            /* => text to show in completion bar */
  60. );
  61.  
  62. Public int    mdlCompGeom_zone2d
  63. (
  64. Dpoint3d        ***resultsArraysPPP,    /* <=> array of output loops */
  65. double          **areaArrayPP,          /* <=> area of output loops, or NULL */
  66. int            **numResultsArrayPP,    /* <=> number of points in each output loop */
  67. int            *numResultsP,            /* <=> number of output loops */
  68. Dpoint3d        **inputsPP,            /* =>  array of input loops */
  69. int            *numInputsArrayP,       /* => number of points in each input loop */
  70. double          *radiusP,        /* => zone radius for each input loop */
  71. short           *flagP,                /* => operation flag for each input loop */
  72. int            numInputs,            /* => number of input loops */
  73. double          tolerance        /* => tolerance used to stroke arcs */
  74. );
  75.  
  76. /*======================================================================+
  77. |                                    |
  78. |   Minor Code Section                            |
  79. |                                    |
  80. +======================================================================*/
  81.  
  82.  
  83. #endif    /* !defined (__mscompgeFDF__) */
  84.