EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Helper for writing out faces for polyhedron representation. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/detail/FacesHelper.hpp>
Public Types | |
using | FaceVector = std::vector< Polyhedron::FaceType > |
Static Public Member Functions | |
static std::pair< FaceVector, FaceVector > | convexFaceMesh (const std::vector< Vector3D > &vertices, bool centerLast=false) |
This method words for all convex type surface setups It includes: | |
static std::pair< FaceVector, FaceVector > | cylindricalFaceMesh (const std::vector< Vector3D > &vertices, bool fullTwoPi=true) |
This method works for all concentric type surface setups It includes : | |
Helper for writing out faces for polyhedron representation.
Definition at line 23 of file FacesHelper.hpp.
View newest version in sPHENIX GitHub at line 23 of file FacesHelper.hpp
Definition at line 24 of file FacesHelper.hpp.
View newest version in sPHENIX GitHub at line 24 of file FacesHelper.hpp
|
inlinestatic |
This method words for all convex type surface setups It includes:
Rectangle / Triangle / Polygon Full disc, ellipse, half ring
vertices | The vector of vertices |
centerLast | Boolean indicator if the center is given for a better triangulation method as last element of the vector |
Triangular mesh construction
Definition at line 34 of file FacesHelper.hpp.
View newest version in sPHENIX GitHub at line 34 of file FacesHelper.hpp
Referenced by Acts::EventDataView3D::drawCovarianceCartesian(), and Acts::PlaneSurface::polyhedronRepresentation().
|
inlinestatic |
This method works for all concentric type surface setups It includes :
The single requirement is that the #vertices are equal and the input vector is splittable in half into the two bows.
vertices | The vector of vertices |
fullTwoPi | The indicator if the concentric face is closed |
Definition at line 66 of file FacesHelper.hpp.
View newest version in sPHENIX GitHub at line 66 of file FacesHelper.hpp
Referenced by Acts::StrawSurface::polyhedronRepresentation(), Acts::PlaneSurface::polyhedronRepresentation(), Acts::ConeSurface::polyhedronRepresentation(), and Acts::CylinderSurface::polyhedronRepresentation().