MeshLib C++ Docs
Loading...
Searching...
No Matches
MRCudaSolarRadiation.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
4#include "MRMesh/MRMesh.h"
6
7// Only strictly necessary for the bindings (to make `MR::MeshIntersectionResult` a complete type).
9
10namespace MR
11{
12namespace Cuda
13{
14
21[[nodiscard]] MRCUDA_API VertScalars computeSkyViewFactor( const Mesh& terrain,
22 const VertCoords& samples, const VertBitSet& validSamples,
23 const std::vector<MR::SkyPatch>& skyPatches,
24 BitSet* outSkyRays = nullptr, std::vector<MR::MeshIntersectionResult>* outIntersections = nullptr );
25
30[[nodiscard]] MRCUDA_API BitSet findSkyRays( const Mesh& terrain,
31 const VertCoords& samples, const VertBitSet& validSamples,
32 const std::vector<MR::SkyPatch>& skyPatches, std::vector<MR::MeshIntersectionResult>* outIntersections = nullptr );
33}
34
35}
container of bits
Definition MRMesh/MRBitSet.h:27
MRCUDA_API VertScalars computeSkyViewFactor(const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< MR::SkyPatch > &skyPatches, BitSet *outSkyRays=nullptr, std::vector< MR::MeshIntersectionResult > *outIntersections=nullptr)
MRCUDA_API BitSet findSkyRays(const Mesh &terrain, const VertCoords &samples, const VertBitSet &validSamples, const std::vector< MR::SkyPatch > &skyPatches, std::vector< MR::MeshIntersectionResult > *outIntersections=nullptr)
Definition MRMesh/MRMesh.h:23