www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

arche.hh (482B)


      1 #ifndef _RULES_ARCHE_HH_
      2 #define _RULES_ARCHE_HH_
      3 
      4 #include "all_includes.hh"
      5 
      6 // Arche du nord au sud
      7 class ArcheQuad : public Chose {
      8 private:
      9 	enum Type {
     10 		RANDOM,
     11 		OGIVE,
     12 		BERCEAU,
     13 		PLAT
     14 	};
     15 	Quad c;
     16 	float height;
     17 	float start;
     18 	float end;
     19 	Type type;
     20 public:
     21 	ArcheQuad(Quad _c, float _height, float _start = 0, float _end = 1, Type _type = RANDOM);
     22 	virtual void split();
     23 	virtual void triangulation();
     24 	virtual void getBoundingBoxPoints();
     25 	float f(float x);
     26 };
     27 
     28 #endif