MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / MyClass

Class MyClass

CPP/Examples/UsingZ/UsingZ.cpp:17–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// use the Z callback to flag intersections by setting z = 1;
16
17class MyClass {
18public:
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
35int main(int argc, char* argv[])
36{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected