UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZtPoints.H
1 /* ZtPoints.H */
2 /* $Id: ZtPoints.H,v 3.1 2004/06/10 12:56:19 vlad Exp $ */
3 #ifndef __ZtPoints_H
4 #define __ZtPoints_H
5 
6 #include <zm/ZtObject.H>
7 
8 
11 {
12  float x, y;
13 };
14 
15 
16 #define AnyType ZNaturalPoint
17 #define AnyAr ZNaturalPoints
18 #include <mix/AnyAr.H>
19 
20 
25 class ZtPoints: public ZtObject
26 {
27 public:
28 
30  ZNaturalPoints points;
31 
32 
34  ZtPoints (ZtMain* pManager, ZGroupId pxid, ZGroupId pyid,
35  ZGroupId nxid, ZGroupId nyid);
36 
38  ZtPoints (const ZtPoints& zobj);
39 
41  virtual void redraw ();
42 
45  virtual Logic belong (int px, int py) const;
46 
48  virtual int which_belong (int px, int py) const;
49 
51  virtual const char* class_id () const;
52 
53 };
54 
55 
56 #endif /* ZtPoints.H */
Definition: ZtPoints.H:25
virtual int which_belong(int px, int py) const
Definition: ZtMain.H:32
ZNaturalPoints points
Definition: ZtPoints.H:30
ZtPoints(ZtMain *pManager, ZGroupId pxid, ZGroupId pyid, ZGroupId nxid, ZGroupId nyid)
Definition: ZtPoints.H:10
Definition: ZtObject.H:57
ZPCoordSlave px
Definition: ZtObject.H:203
virtual const char * class_id() const
virtual void redraw()
ZPCoordSlave py
Definition: ZtObject.H:204
virtual Logic belong(int px, int py) const