diff options
author | hugues <hugues@0f7e0d06-a6f9-0310-a55f-d5f984f55e4c> | 2005-02-10 23:10:51 +0000 |
---|---|---|
committer | hugues <hugues@0f7e0d06-a6f9-0310-a55f-d5f984f55e4c> | 2005-02-10 23:10:51 +0000 |
commit | c50bc6329ff6e336de47efa7b2275c77e85a75a1 (patch) | |
tree | eca3a8af85bcf95047caa027aa01d9cfc47a0cff /trunk/glagen/dll/classes/dot.hh | |
parent | 42d83a68fc1cd45019ddbebee041962d2a1783b9 (diff) |
Initial revision
git-svn-id: file:///usr/local/opt/svn/repos/glagen@3 0f7e0d06-a6f9-0310-a55f-d5f984f55e4c
Diffstat (limited to 'trunk/glagen/dll/classes/dot.hh')
-rw-r--r-- | trunk/glagen/dll/classes/dot.hh | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/trunk/glagen/dll/classes/dot.hh b/trunk/glagen/dll/classes/dot.hh new file mode 100644 index 0000000..e13f23c --- /dev/null +++ b/trunk/glagen/dll/classes/dot.hh @@ -0,0 +1,49 @@ +// +// dot.hh for Glagen in ~/Galgen/3d +// +// Made by Zavie +// Login <guerta_j@epita.fr> +// +// Started on Fri Aug 16 17:08:16 2002 Zavie +// + +#ifndef DOT_HH_ +# define DOT_HH_ + +class Dot +{ +public: + + // Constructor and destructor + Dot (double x, double y, double z); + ~Dot (); + + // Reading + double x (); + double y (); + double z (); + + void *Property (int i); + bool Is_checked (); + + // Writing + void set (double x, double y, double z); + void Use (); + void Drop (); + void Del_property (int i); + void Set_property (int i, void *property); + void Checked (); + + // Other tools + Dot *Middle (Dot *b); + +protected: + double _x; + double _y; + double _z; + unsigned char _use; + void **_property; + char step; +}; + +#endif // DOT_HH_ |