EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VerticesHelper.hpp File Reference
#include "Acts/Utilities/Definitions.hpp"
#include <utility>
#include <vector>
+ Include dependency graph for VerticesHelper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Set the Geometry Context PLUGIN.
 
namespace  Acts::detail
 These functions perform the transport of a covariance matrix using given Jacobians. The required data is provided by the stepper object with some additional data. Since this is a purely algebraic problem the calculations are identical for StraightLineStepper and EigenStepper. As a consequence the methods can be located in a seperate file.
 
namespace  Acts::detail::VerticesHelper
 Helper methods for polyhedron vertices drawing and inside/outside checks.
 

Functions

std::vector< double > Acts::detail::VerticesHelper::phiSegments (double phiMin=-M_PI, double phiMax=M_PI, const std::vector< double > &phiRefs={}, double phiTolerance=1e-6)
 
template<typename vertex_t , typename transform_t >
void Acts::detail::VerticesHelper::createSegment (std::vector< vertex_t > &vertices, std::pair< double, double > rxy, double phi1, double phi2, unsigned int lseg, int addon=0, const vertex_t &offset=vertex_t::Zero(), const transform_t &transform=transform_t::Identity())
 
std::vector< Vector2D > Acts::detail::VerticesHelper::ellipsoidVertices (double innerRx, double innerRy, double outerRx, double outerRy, double avgPhi=0., double halfPhi=M_PI, unsigned int lseg=1)
 
std::vector< Vector2D > Acts::detail::VerticesHelper::circularVertices (double innerR, double outerR, double avgPhi=0., double halfPhi=M_PI, unsigned int lseg=1)
 
template<typename vertex_t , typename vertex_container_t >
bool Acts::detail::VerticesHelper::isInsidePolygon (const vertex_t &point, const vertex_container_t &vertices)
 
template<typename vertex_t >
bool Acts::detail::VerticesHelper::isInsideRectangle (const vertex_t &point, const vertex_t &lowerLeft, const vertex_t &upperRight)
 
bool Acts::detail::VerticesHelper::onHyperPlane (const std::vector< Vector3D > &vertices, double tolerance=s_onSurfaceTolerance)