git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
407 B
C++
19 lines
407 B
C++
#ifndef EXAMPLE_H
|
|
#define EXAMPLE_H
|
|
|
|
class shape {
|
|
public:
|
|
virtual ~shape();
|
|
virtual bool cover( double x, double y ); // does this shape cover this point?
|
|
};
|
|
|
|
class volume {
|
|
public:
|
|
virtual double depth( double x, double y );
|
|
virtual ~volume();
|
|
};
|
|
|
|
extern void draw_shape_coverage( shape *s, int div_x, int div_y );
|
|
extern void draw_depth_map( volume *v, int div_x, int div_y );
|
|
|
|
#endif//EXAMPLE_H
|