DHART
Loading...
Searching...
No Matches
view_analysis.cpp File Reference

Contains implementation for the ViewAnalysis namespace. More...

#include <view_analysis.h>
#include <vector>
#include <array>
#include <cmath>
#include <embree_raytracer.h>
#include <RayRequest.h>
#include <node.h>
+ Include dependency graph for view_analysis.cpp:

Go to the source code of this file.

Namespaces

namespace  HF
 Perform human scale analysis on 3D environments.
 
namespace  HF::ViewAnalysis
 Analyze space from the perspective of observers within a 3D environment.
 

Functions

constexpr float HF::ViewAnalysis::ConvertToRadians (float num_in_degrees)
 Convert a number from degrees to radians. More...
 
void HF::ViewAnalysis::Normalize (std::array< float, 3 > &vec)
 Normalize a vector. More...
 
bool HF::ViewAnalysis::AltitudeWithinRange (const std::array< float, 3 > &vec, float max_angle, float min_angle)
 
vector< std::array< float, 3 > > HF::ViewAnalysis::FibbonacciDist (int num_points, float upwards_fov, float downward_fov)
 
vector< std::array< float, 3 > > HF::ViewAnalysis::FibbonacciDistributePoints (int num_points, float upwards_fov=50.0f, float downward_fov=70.0f)
 Evenly distribute a set of points around a sphere centered at the origin. More...
 

Detailed Description

Contains implementation for the ViewAnalysis namespace.

Author
TBA
Date
26 Jun 2020

Definition in file view_analysis.cpp.