Header file for Hexagon class. More...
Go to the source code of this file.
Classes | |
class | Hexagon |
Regular hexagon Shape of a given height. More... | |
Functions | |
bool | IsHexagonInTube (double Xh[2], Shape_ptr hexa, double Rmax, double Rmin=0, double *Xt=0) |
bool | IsHexagonInHexagon (double Xh1[2], Shape_ptr hexa1, Shape_ptr hexa2) |
bool | IsCylinderInHexagon (Shape_ptr cylinder, Shape_ptr hexagon) |
Header file for Hexagon class.
Say if a cylinder or a tube is entirely included in an hexagon : in (X,Y) -> no dependance with Z Return 1 if the tube/cylinder is inside ENTIRELY the hexagon, return 0 if not
cylinder | : the cylinder or the tube |
hexagon | : the hexagon |
bool IsHexagonInTube | ( | double | Xh[2], |
Shape_ptr | hexa, | ||
double | Rmax, | ||
double | Rmin = 0 , |
||
double * | Xt = 0 |
||
) |