| 15 | // use the Z callback to flag intersections by setting z = 1; |
| 16 | |
| 17 | class MyClass { |
| 18 | public: |
| 19 | |
| 20 | // Point64 callback - see TestingZ_Int64() |
| 21 | void myZCB(const Point64& e1bot, const Point64& e1top, |
| 22 | const Point64& e2bot, const Point64& e2top, Point64& pt) |
| 23 | { |
| 24 | pt.z = 1; |
| 25 | } |
| 26 | |
| 27 | // PointD callback - see TestingZ_Double() |
| 28 | void myZCBD(const PointD& e1bot, const PointD& e1top, |
| 29 | const PointD& e2bot, const PointD& e2top, PointD& pt) |
| 30 | { |
| 31 | pt.z = 1; |
| 32 | } |
| 33 | }; |
| 34 | |
| 35 | int main(int argc, char* argv[]) |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected