Latitude of the midpoint of the scene.
Longitude of the midpoint of the scene.
Change the Color Map that is used for the colors of the simulated Three.js mesh. This is optional, the default colorMap is viridis (blue to green to yellow)
Add a elevation model to the simulation scene.
List of Points with x,y,z coordinates, representing a digital elevation model (DEM). It is important that all values of x,y and z are given with same units. If x and y are given in lat / lon and z is given in meters, this will result in wrong simulation Results.
The point of the observer, ie the center of the building
Number of divisions of the azimuth Angle, i.e. the list of the azimuth angle will be [0, ..., 2Pi] where the list has a lenght of azimuthDivisions
Adds a geometry as a target for the shading simulation.
For these geometries, the PV potential will be simulated.
This geometry will also be used as a shading geometry, hence
it is not needed to additionally add it by using addShadingGeometry
.
Arbitrary Three.js geometry
Scene
This function is called as a last step, after the scene is fully build. It runs the shading simulation and returns a THREE.js colored mesh. The colors are chosen from the viridis colormap.
A three.js colored mesh of the simulationGeometry.
Generated using TypeDoc
This class holds all information about the scene that is simulated. A ShadingScene is typically equipped with the following attributes: