g4tools  5.4.0
Public Member Functions | List of all members
tools::hep::polyhedron_tube Class Reference
Inheritance diagram for tools::hep::polyhedron_tube:
Inheritance graph
[legend]
Collaboration diagram for tools::hep::polyhedron_tube:
Collaboration graph
[legend]

Public Member Functions

 polyhedron_tube (double Rmin, double Rmax, double Dz, int nstep=0)
 
virtual ~polyhedron_tube ()
 
 polyhedron_tube (const polyhedron_tube &a_from)
 
polyhedron_tubeoperator= (const polyhedron_tube &a_from)
 
- Public Member Functions inherited from tools::hep::polyhedron_cons
 polyhedron_cons (double Rmn1, double Rmx1, double Rmn2, double Rmx2, double Dz, double Phi1, double Dphi, int nstep=0)
 
virtual ~polyhedron_cons ()
 
 polyhedron_cons (const polyhedron_cons &a_from)
 
polyhedron_consoperator= (const polyhedron_cons &a_from)
 
- Public Member Functions inherited from tools::hep::polyhedron
 polyhedron (int Nvert=0, int Nface=0)
 
virtual ~polyhedron ()
 
 polyhedron (const polyhedron &from)
 
polyhedronoperator= (const polyhedron &from)
 
void Set (int Nvert, HVPoint3D *aV, int Nface, SbFacet *aF)
 
void Empty ()
 
int GetNoVertices () const
 
int GetNoFacets () const
 
polyhedronTranslate (double, double, double)
 
polyhedronTransform (const rotd &rot, double, double, double)
 
polyhedronTransform (const rotd &rot, const vec3d &trans)
 
bool GetNextVertexIndex (int &index, int &edgeFlag) const
 
HVPoint3D GetVertex (int index) const
 
const HVPoint3DGetVertexFast (int index) const
 
HVPoint3DGetPV () const
 
SbFacetGetPF () const
 
bool GetNextVertex (HVPoint3D &vertex, int &edgeFlag) const
 
bool GetNextVertex (HVPoint3D &vertex, int &edgeFlag, HVNormal3D &normal) const
 
bool GetNextEdgeIndeces (int &i1, int &i2, int &edgeFlag, int &iface1, int &iface2) const
 
bool GetNextEdgeIndeces (int &i1, int &i2, int &edgeFlag) const
 
bool GetNextEdge (HVPoint3D &p1, HVPoint3D &p2, int &edgeFlag) const
 
bool GetNextEdge (HVPoint3D &p1, HVPoint3D &p2, int &edgeFlag, int &iface1, int &iface2) const
 
void GetFacet (int iFace, int &n, int *iNodes, int *edgeFlags=0, int *iFaces=0) const
 
void GetFacet (int iFace, int &n, HVPoint3D *nodes, int *edgeFlags=0, HVNormal3D *normals=0) const
 
bool GetNextFacet (int &n, HVPoint3D *nodes, int *edgeFlags=0, HVNormal3D *normals=0) const
 
HVNormal3D GetNormal (int iFace) const
 
HVNormal3D GetUnitNormal (int iFace) const
 
bool GetNextNormal (HVNormal3D &normal) const
 
bool GetNextUnitNormal (HVNormal3D &normal) const
 
polyhedron add (const polyhedron &p) const
 
polyhedron subtract (const polyhedron &p) const
 
polyhedron intersect (const polyhedron &p) const
 
double GetSurfaceArea () const
 
double GetVolume () const
 
bool isEqual (const polyhedron &p) const
 
bool isConsistent (const char *=0) const
 
void dump (std::ostream &) const
 
int GetNumberOfRotationSteps ()
 
void SetNumberOfRotationSteps (int n)
 
void ResetNumberOfRotationSteps ()
 
bool set_polyhedron_cons (double Rmn1, double Rmx1, double Rmn2, double Rmx2, double Dz, double Phi1, double Dphi, int nstep=0)
 
bool set_polyhedron_tube (double Rmin, double Rmax, double Dz, int nstep=0)
 
double vxy (const double *xy, int i, int j)
 
bool set_polyhedron_arb8 (double Dz, const double *xy)
 
bool set_polyhedron_trd2 (double Dx1, double Dx2, double Dy1, double Dy2, double Dz)
 
bool set_polyhedron_box (double Dx, double Dy, double Dz)
 
bool set_polyhedron_trd1 (double Dx1, double Dx2, double Dy, double Dz)
 
bool set_polyhedron_trap (double Dz, double Theta, double Phi, double Dy1, double Dx1, double Dx2, double Alp1, double Dy2, double Dx3, double Dx4, double Alp2)
 
bool set_polyhedron_para (double Dx, double Dy, double Dz, double Alpha, double Theta, double Phi)
 
bool set_polyhedron_pgon (double phi, double dphi, int npdv, int nz, const double *z, const double *rmin, const double *rmax)
 
bool set_polyhedron_pcon (double phi, double dphi, int nz, const double *z, const double *rmin, const double *rmax)
 
bool set_polyhedron_tubs (double Rmin, double Rmax, double Dz, double Phi1, double Dphi, int nstep)
 
bool set_polyhedron_cone (double Rmn1, double Rmx1, double Rmn2, double Rmx2, double Dz, int nstep)
 
bool set_polyhedron_torus (double rmin, double rmax, double rtor, double phi, double dphi, int nphi, int nthe)
 
bool set_polyhedron_xtru (int a_npts, int a_nz, double *a_xs, double *a_ys, double *a_zs, bool a_acw=true, bool a_zfb=true)
 
bool set_polyhedron_sphere (double rmin, double rmax, double phi, double dphi, double the, double dthe, int nphi=0, int nthe=0)
 
bool set_polyhedron_hype (double a_st_in, double a_st_out, double a_rmin, double a_rmax, double a_dz, int a_nz=10, int a_nphi=24)
 
bool set_polyhedron_eltu (double a_dx, double a_dy, double a_dz, int a_nz=10, int a_nphi=24)
 

Additional Inherited Members

- Static Public Member Functions inherited from tools::hep::polyhedron
static int NUMBER_OF_STEPS ()
 
static void do_not_set_NUMBER_OF_STEPS (int)
 
- Protected Member Functions inherited from tools::hep::polyhedron
void AllocateMemory (int Nvert, int Nface)
 
int FindNeighbour (int iFace, int iNode, int iOrder) const
 
HVNormal3D FindNodeNormal (int iFace, int iNode) const
 
void CreatePrism ()
 
void RotateEdge (int k1, int k2, double r1, double r2, int v1, int v2, int vEdge, bool ifWholeCircle, int ns, int &kface)
 
void SetSideFacets (int ii[4], int vv[4], int *kk, double *r, double dphi, int ns, int &kface)
 
void RotateAroundZ (int nstep, double phi, double dphi, int np1, int np2, const double *z, double *r, int nodeVis, int edgeVis)
 
void SetReferences ()
 
void InvertFacets ()
 
- Static Protected Member Functions inherited from tools::hep::polyhedron
static double _M_PI ()
 
- Protected Attributes inherited from tools::hep::polyhedron
int nvert
 
int nface
 
HVPoint3DpV
 
SbFacetpF
 

Detailed Description

Definition at line 663 of file polyhedron.

Constructor & Destructor Documentation

◆ polyhedron_tube() [1/2]

tools::hep::polyhedron_tube::polyhedron_tube ( double  Rmin,
double  Rmax,
double  Dz,
int  nstep = 0 
)

◆ ~polyhedron_tube()

virtual tools::hep::polyhedron_tube::~polyhedron_tube ( )
inlinevirtual

Definition at line 666 of file polyhedron.

666 {}

◆ polyhedron_tube() [2/2]

tools::hep::polyhedron_tube::polyhedron_tube ( const polyhedron_tube a_from)
inline

Definition at line 668 of file polyhedron.

668 :polyhedron_cons(a_from){}

Member Function Documentation

◆ operator=()

polyhedron_tube& tools::hep::polyhedron_tube::operator= ( const polyhedron_tube a_from)
inline

Definition at line 669 of file polyhedron.

669  {
671  return *this;
672  }

The documentation for this class was generated from the following file:
tools::hep::polyhedron_cons::polyhedron_cons
polyhedron_cons(double Rmn1, double Rmx1, double Rmn2, double Rmx2, double Dz, double Phi1, double Dphi, int nstep=0)
tools::hep::polyhedron_cons::operator=
polyhedron_cons & operator=(const polyhedron_cons &a_from)
Definition: polyhedron:620