home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-03-26 | 1.0 KB | 28 lines | [TEXT/MMCC] |
- //------------------------------------------------------------------------------
- // File: split.h
- // Date: 3/26/95
- // Author: Bretton Wade
- //
- // Description: this file contains the method for splitting a polygon
- // with a plane.
- //
- //------------------------------------------------------------------------------
-
- #include "polyptr_3d.h"
-
- #ifndef SPLIT
- #define SPLIT
-
- //------------------------------------------------------------------------------
- // enumerations
- //------------------------------------------------------------------------------
- enum hclass {IN = -1, ON = 0, OUT = 1, SPANNING = 2}; // classification type for plane_3d comparisons
-
- //------------------------------------------------------------------------------
- // functions
- //------------------------------------------------------------------------------
- hclass Split (const polyptr&, const plane_3d&, polyptr&, polyptr&); // split the polygon with a plane_3d
-
- //------------------------------------------------------------------------------
-
- #endif //SPLIT