Skip to content

DiGi.Solar.ComputeSharp

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

DiGi.Solar.ComputeSharp Namespace

Classes

Create Class

public static class Create

Inheritance System.Object → Create

Methods

Create.ShadingSolverResult(this ShadingSolverType, DateTime, Plane, IEnumerable<IPolygonalFace2D>) Method

Creates an DiGi.Solar.Interfaces.IShadingSolverResult based on the specified DiGi.Solar.Enums.ShadingSolverType, date and time, plane, and polygonal faces.

public static DiGi.Solar.Interfaces.IShadingSolverResult? ShadingSolverResult(this DiGi.Solar.Enums.ShadingSolverType shadingSolverType, System.DateTime dateTime, DiGi.Geometry.Spatial.Classes.Plane? plane, System.Collections.Generic.IEnumerable<DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D>? polygonalFace2Ds);

Parameters

shadingSolverType DiGi.Solar.Enums.ShadingSolverType

The DiGi.Solar.Enums.ShadingSolverType that determines the type of shading solver result to be created.

dateTime System.DateTime

The System.DateTime representing the time for which the shading is solved.

plane DiGi.Geometry.Spatial.Classes.Plane

The DiGi.Geometry.Spatial.Classes.Plane used for geometrical shading calculations. This can be null if a numerical solver is used.

polygonalFace2Ds System.Collections.Generic.IEnumerable<DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D>

An System.Collections.Generic.IEnumerable<> representing the faces involved in shading calculations.

Returns

DiGi.Solar.Interfaces.IShadingSolverResult
An implementation of DiGi.Solar.Interfaces.IShadingSolverResult if a valid solver type is provided and necessary parameters are present; otherwise, null.

Clone this wiki locally