MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSolarRadiation.h File Reference
#include "MRMeshFwd.h"
#include "MRVector3.h"

Go to the source code of this file.

Classes

struct  MR::SkyPatch
 this class represents a portion of the sky, and its radiation More...

Namespaces

namespace  MR
 only for bindings generation

Functions

std::vector< Vector3f > MR::sampleHalfSphere ()
 returns quasi-uniform 145 samples on unit half-sphere z>0
VertScalars MR::computeSkyViewFactor (const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< SkyPatch > &skyPatches, BitSet *outSkyRays=nullptr, std::vector< MeshIntersectionResult > *outIntersections=nullptr)
BitSet MR::findSkyRays (const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< SkyPatch > &skyPatches, std::vector< MeshIntersectionResult > *outIntersections=nullptr)