.. _program_listing_file_larflow_Reco_geofuncs.h: Program Listing for File geofuncs.h =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``larflow/Reco/geofuncs.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef __LARFLOW_GEOFUNCS_H__ #define __LARFLOW_GEOFUNCS_H__ #include namespace larflow { namespace reco { template T pointLineDistance( const std::vector& linept1, const std::vector& linept2, const std::vector& testpt ); template T pointRayProjection( const std::vector& start, const std::vector& dir, const std::vector& testpt ); float pointLineDistance3f( const std::vector& linept1, const std::vector& linept2, const std::vector& testpt ); float pointRayProjection3f( const std::vector& start, const std::vector& dir, const std::vector& testpt ); double pointLineDistance3d( const std::vector& linept1, const std::vector& linept2, const std::vector& testpt ); double pointRayProjection3d( const std::vector& start, const std::vector& dir, const std::vector& testpt ); } } #endif