Skip to content

DiGi.Solar.Classes

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

DiGi.Solar.Classes Namespace

Classes

GeometricalShadingSolverResult Class

Represents the result of a geometrical shading solver, containing spatial data such as the plane and polygonal faces used for shading calculations.

public class GeometricalShadingSolverResult : DiGi.Solar.Classes.ShadingSolverResult

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Classes.UniqueObjectDiGi.Core.Classes.GuidObjectDiGi.Core.Classes.GuidResultDiGi.Core.Classes.GuidResult<IShadingElement>ShadingSolverResult → GeometricalShadingSolverResult

Constructors

GeometricalShadingSolverResult(GeometricalShadingSolverResult) Constructor

Initializes a new instance of the GeometricalShadingSolverResult class by cloning an existing result.

public GeometricalShadingSolverResult(DiGi.Solar.Classes.GeometricalShadingSolverResult? geometricalShadingSolverResult);

Parameters

geometricalShadingSolverResult GeometricalShadingSolverResult

The source geometrical shading solver result to clone.

GeometricalShadingSolverResult(DateTime, Plane, IEnumerable<IPolygonalFace2D>) Constructor

Initializes a new instance of the GeometricalShadingSolverResult class.

public GeometricalShadingSolverResult(System.DateTime dateTime, DiGi.Geometry.Spatial.Classes.Plane? plane, System.Collections.Generic.IEnumerable<DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D>? polygonalFace2Ds);

Parameters

dateTime System.DateTime

The date and time associated with the shading result.

plane DiGi.Geometry.Spatial.Classes.Plane

The plane on which the geometrical calculations are performed.

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

The collection of 2D polygonal faces involved in the shading.

GeometricalShadingSolverResult(JsonObject) Constructor

Initializes a new instance of the GeometricalShadingSolverResult class from a JSON object.

public GeometricalShadingSolverResult(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The JSON object containing the result data.

Properties

GeometricalShadingSolverResult.Area Property

Gets the total area of all associated 2D polygonal faces.

public override double Area { get; }

Implements Area

Property Value

System.Double

GeometricalShadingSolverResult.Plane Property

Gets the plane associated with this shading solver result.

public DiGi.Geometry.Spatial.Classes.Plane? Plane { get; }

Property Value

DiGi.Geometry.Spatial.Classes.Plane

GeometricalShadingSolverResult.PolygonalFace2Ds Property

Gets the list of 2D polygonal faces associated with this shading solver result.

public System.Collections.Generic.List<DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D>? PolygonalFace2Ds { get; }

Property Value

System.Collections.Generic.List<DiGi.Geometry.Planar.Interfaces.IPolygonalFace2D>

Methods

GeometricalShadingSolverResult.GetPolygonalFace3Ds() Method

Converts the 2D polygonal faces to their 3D representations based on the associated plane.

public System.Collections.Generic.List<DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D>? GetPolygonalFace3Ds();

Returns

System.Collections.Generic.List<DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D>
A list of 3D polygonal faces, or null if the plane or 2D faces are not defined.

NumericalShadingSolverResult Class

Represents the result of a numerical shading solver calculation, providing details such as the calculated area.

public class NumericalShadingSolverResult : DiGi.Solar.Classes.ShadingSolverResult

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Classes.UniqueObjectDiGi.Core.Classes.GuidObjectDiGi.Core.Classes.GuidResultDiGi.Core.Classes.GuidResult<IShadingElement>ShadingSolverResult → NumericalShadingSolverResult

Constructors

NumericalShadingSolverResult(NumericalShadingSolverResult) Constructor

Initializes a new instance of the NumericalShadingSolverResult class by copying an existing result instance.

public NumericalShadingSolverResult(DiGi.Solar.Classes.NumericalShadingSolverResult numericalShadingSolverResult);

Parameters

numericalShadingSolverResult NumericalShadingSolverResult

The source NumericalShadingSolverResult instance to copy from.

NumericalShadingSolverResult(DateTime, double) Constructor

Initializes a new instance of the NumericalShadingSolverResult class with a specified date time and area.

public NumericalShadingSolverResult(System.DateTime dateTime, double area);

Parameters

dateTime System.DateTime

The date and time associated with the shading calculation result.

area System.Double

The numerical value of the calculated shading area.

NumericalShadingSolverResult(JsonObject) Constructor

Initializes a new instance of the NumericalShadingSolverResult class from a JSON object.

public NumericalShadingSolverResult(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The System.Text.Json.Nodes.JsonObject containing the result data.

Properties

NumericalShadingSolverResult.Area Property

Gets the numerical shading area.

public override double Area { get; }

Implements Area

Property Value

System.Double

ShadingElement Class

Represents an element that provides shading in a solar analysis context.

public class ShadingElement : DiGi.Core.Classes.GuidObject, DiGi.Solar.Interfaces.IShadingElement, DiGi.Solar.Interfaces.IShadingUniqueObject, DiGi.Solar.Interfaces.IShadingSerializableObject, DiGi.Solar.Interfaces.IShadingObject, DiGi.Solar.Interfaces.ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IUniqueObject

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Classes.UniqueObjectDiGi.Core.Classes.GuidObject → ShadingElement

Implements IShadingElement, IShadingUniqueObject, IShadingSerializableObject, IShadingObject, ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IUniqueObject

Constructors

ShadingElement(IPolygonalFace3D, bool) Constructor

Initializes a new instance of the ShadingElement class with specified geometry and properties, and a generated unique identifier.

public ShadingElement(DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D? polygonalFace3D, bool shadingOnly);

Parameters

polygonalFace3D DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D

The 3D polygonal face representing the geometry of the shading element.

shadingOnly System.Boolean

A flag indicating if the element is used exclusively for shading calculations.

ShadingElement(ShadingElement) Constructor

Initializes a new instance of the ShadingElement class by cloning an existing shading element.

public ShadingElement(DiGi.Solar.Classes.ShadingElement? shadingElement);

Parameters

shadingElement ShadingElement

The source ShadingElement to clone.

ShadingElement(string, IPolygonalFace3D, bool) Constructor

Initializes a new instance of the ShadingElement class with specified properties and a generated unique identifier.

public ShadingElement(string? reference, DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D? polygonalFace3D, bool shadingOnly);

Parameters

reference System.String

The reference string identifying the element.

polygonalFace3D DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D

The 3D polygonal face representing the geometry of the shading element.

shadingOnly System.Boolean

A flag indicating if the element is used exclusively for shading calculations.

ShadingElement(Guid, string, IPolygonalFace3D, bool) Constructor

Initializes a new instance of the ShadingElement class with a specified unique identifier and properties.

public ShadingElement(System.Guid guid, string? reference, DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D? polygonalFace3D, bool shadingOnly);

Parameters

guid System.Guid

The unique identifier for the object.

reference System.String

The reference string identifying the element.

polygonalFace3D DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D

The 3D polygonal face representing the geometry of the shading element.

shadingOnly System.Boolean

A flag indicating if the element is used exclusively for shading calculations.

ShadingElement(JsonObject) Constructor

Initializes a new instance of the ShadingElement class from a JSON object.

public ShadingElement(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The System.Text.Json.Nodes.JsonObject containing the element data.

Properties

ShadingElement.PolygonalFace3D Property

Gets the 3D polygonal face associated with this shading element.

public DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D? PolygonalFace3D { get; }

Implements PolygonalFace3D

Property Value

DiGi.Geometry.Spatial.Interfaces.IPolygonalFace3D

ShadingElement.Reference Property

Gets the reference identifier of the shading element.

public string? Reference { get; }

Implements Reference

Property Value

System.String

ShadingElement.ShadingOnly Property

Gets a value indicating whether the element is used exclusively for shading calculations.

public bool ShadingOnly { get; }

Implements ShadingOnly

Property Value

System.Boolean

ShadingModel Class

Represents a shading model that manages the relationship between shading elements and their corresponding solver results.

public class ShadingModel : DiGi.Core.Classes.GuidObject, DiGi.Solar.Interfaces.ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.IGuidModel, DiGi.Core.Interfaces.ISerializableModel, DiGi.Core.Interfaces.IModel, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IGuidObject, DiGi.Core.Interfaces.IUniqueObject

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Classes.UniqueObjectDiGi.Core.Classes.GuidObject → ShadingModel

Implements ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.IGuidModel, DiGi.Core.Interfaces.ISerializableModel, DiGi.Core.Interfaces.IModel, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IGuidObject, DiGi.Core.Interfaces.IUniqueObject

Constructors

ShadingModel(UTC, Coordinates) Constructor

Initializes a new instance of the ShadingModel class with the specified UTC offset and coordinates.

public ShadingModel(DiGi.Core.Enums.UTC uTC, DiGi.Core.Classes.Coordinates? coordinates);

Parameters

uTC DiGi.Core.Enums.UTC

The UTC time zone offset.

coordinates DiGi.Core.Classes.Coordinates

The geographic coordinates associated with the model.

ShadingModel(ShadingModel) Constructor

Initializes a new instance of the ShadingModel class by cloning an existing shading model.

public ShadingModel(DiGi.Solar.Classes.ShadingModel shadingModel);

Parameters

shadingModel ShadingModel

The source shading model to clone.

ShadingModel(JsonObject) Constructor

Initializes a new instance of the ShadingModel class from a JSON object.

public ShadingModel(System.Text.Json.Nodes.JsonObject jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The JSON object containing the model data.

Properties

ShadingModel.Coordinates Property

Gets the geographic coordinates associated with the shading model.

public DiGi.Core.Classes.Coordinates? Coordinates { get; }

Property Value

DiGi.Core.Classes.Coordinates

ShadingModel.UTC Property

Gets the UTC time zone offset for the shading model.

public DiGi.Core.Enums.UTC UTC { get; }

Property Value

DiGi.Core.Enums.UTC

Methods

ShadingModel.Assign(IShadingElement, IEnumerable<IShadingSolverResult>) Method

Assigns a shading element and its corresponding solver results to the model's relation cluster.

public bool Assign(DiGi.Solar.Interfaces.IShadingElement? shadingElement, System.Collections.Generic.IEnumerable<DiGi.Solar.Interfaces.IShadingSolverResult>? shadingSolverResults);

Parameters

shadingElement IShadingElement

The shading element to assign.

shadingSolverResults System.Collections.Generic.IEnumerable<IShadingSolverResult>

A collection of solver results associated with the element.

Returns

System.Boolean
True if the assignment was successful; otherwise, false.

ShadingModel.GetShadingElements<TShadingElement>(Nullable<bool>) Method

Retrieves a list of shading elements of the specified type, optionally filtered by their shading-only status.

public System.Collections.Generic.List<TShadingElement>? GetShadingElements<TShadingElement>(System.Nullable<bool> shadingOnly=null)
    where TShadingElement : DiGi.Solar.Interfaces.IShadingElement;

Type parameters

TShadingElement

The type of shading element to retrieve.

Parameters

shadingOnly System.Nullable<System.Boolean>

Optional filter to include only elements that are marked as shading only.

Returns

System.Collections.Generic.List<TShadingElement>
A list of matching shading elements, or null if none were found.

ShadingModel.GetShadingSolverResults<TShadingSolverResult>() Method

Retrieves all shading solver results of the specified type.

public System.Collections.Generic.List<TShadingSolverResult>? GetShadingSolverResults<TShadingSolverResult>()
    where TShadingSolverResult : DiGi.Solar.Interfaces.IShadingSolverResult;

Type parameters

TShadingSolverResult

The type of solver result to retrieve.

Returns

System.Collections.Generic.List<TShadingSolverResult>
A list of matching solver results, or null if none were found.

ShadingModel.GetShadingSolverResults<TShadingSolverResult>(IShadingElement) Method

Retrieves shading solver results of the specified type for a specific shading element.

public System.Collections.Generic.List<TShadingSolverResult>? GetShadingSolverResults<TShadingSolverResult>(DiGi.Solar.Interfaces.IShadingElement? shadingElement)
    where TShadingSolverResult : DiGi.Solar.Interfaces.IShadingSolverResult;

Type parameters

TShadingSolverResult

The type of solver result to retrieve.

Parameters

shadingElement IShadingElement

The shading element associated with the results.

Returns

System.Collections.Generic.List<TShadingSolverResult>
A list of matching solver results, or null if the element is null or no results were found.

ShadingModel.TryGetShadingFactor(IShadingElement, DateTime, double, bool) Method

Attempts to calculate the shading factor for a specific element at a given date and time.

public bool TryGetShadingFactor(DiGi.Solar.Interfaces.IShadingElement shadingElement, System.DateTime dateTime, out double factor, bool interpolation=true);

Parameters

shadingElement IShadingElement

The shading element to evaluate.

dateTime System.DateTime

The date and time of evaluation.

factor System.Double

When this method returns, contains the calculated shading factor if successful; otherwise, System.Double.NaN.

interpolation System.Boolean

Whether to interpolate between known results if an exact match for the date and time is not found.

Returns

System.Boolean
True if a shading factor was successfully determined; otherwise, false.

ShadingModel.Update(IShadingElement) Method

Updates or adds a shading element to the model's relation cluster.

public bool Update(DiGi.Solar.Interfaces.IShadingElement shadingElement);

Parameters

shadingElement IShadingElement

The shading element to update.

Returns

System.Boolean
True if the element was successfully added or updated; otherwise, false.

ShadingModel.Update(IShadingSolverResult) Method

Updates or adds a shading solver result to the model's relation cluster.

public bool Update(DiGi.Solar.Interfaces.IShadingSolverResult shadingSolverResult);

Parameters

shadingSolverResult IShadingSolverResult

The shading solver result to update.

Returns

System.Boolean
True if the solver result was successfully added or updated; otherwise, false.

ShadingRelationCluster Class

Represents a cluster of shading relations, associating shading unique objects with their corresponding shading relations.

public class ShadingRelationCluster : DiGi.Core.Relation.Classes.UniqueObjectRelationCluster<DiGi.Solar.Interfaces.IShadingUniqueObject, DiGi.Solar.Interfaces.IShadingRelation>, DiGi.Solar.Interfaces.ISolarObject, DiGi.Core.Interfaces.IObject

Inheritance System.ObjectDiGi.Core.Classes.Cluster<DiGi.Core.Classes.TypeReference,DiGi.Core.Interfaces.IUniqueReference,IShadingUniqueObject>DiGi.Core.Classes.ValueCluster<DiGi.Core.Classes.TypeReference,DiGi.Core.Interfaces.IUniqueReference,IShadingUniqueObject>DiGi.Core.Classes.SerializableObjectValueCluster<DiGi.Core.Classes.TypeReference,DiGi.Core.Interfaces.IUniqueReference,IShadingUniqueObject>DiGi.Core.Classes.UniqueObjectValueCluster<IShadingUniqueObject>DiGi.Core.Relation.Classes.UniqueObjectRelationCluster<IShadingUniqueObject,IShadingRelation> → ShadingRelationCluster

Implements ISolarObject, DiGi.Core.Interfaces.IObject

Constructors

ShadingRelationCluster() Constructor

Initializes a new instance of the ShadingRelationCluster class.

public ShadingRelationCluster();

ShadingRelationCluster(ShadingRelationCluster) Constructor

Initializes a new instance of the ShadingRelationCluster class by copying another shading relation cluster.

public ShadingRelationCluster(DiGi.Solar.Classes.ShadingRelationCluster? shadingRelationCluster);

Parameters

shadingRelationCluster ShadingRelationCluster

The source shading relation cluster to copy from.

ShadingRelationCluster(JsonObject) Constructor

Initializes a new instance of the ShadingRelationCluster class from the specified JSON object.

public ShadingRelationCluster(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The JSON object containing the cluster data.

Methods

ShadingRelationCluster.AddRelation(IShadingElement, IEnumerable<IShadingSolverResult>) Method

Adds a shading solver result relation for the specified shading element and results.

public DiGi.Solar.Classes.ShadingSolverResultRelation? AddRelation(DiGi.Solar.Interfaces.IShadingElement? shadingElement, System.Collections.Generic.IEnumerable<DiGi.Solar.Interfaces.IShadingSolverResult>? shadingSolverResults);

Parameters

shadingElement IShadingElement

The shading element associated with the relation.

shadingSolverResults System.Collections.Generic.IEnumerable<IShadingSolverResult>

The collection of shading solver results to associate.

Returns

ShadingSolverResultRelation
The newly created ShadingSolverResultRelation, or null if any input is null.

ShadingRelationCluster.GetShadingSolverResults<TShadingSolverResult>(ShadingSolverResultRelation) Method

Retrieves a list of shading solver results of the specified type from the given relation.

public System.Collections.Generic.List<TShadingSolverResult>? GetShadingSolverResults<TShadingSolverResult>(DiGi.Solar.Classes.ShadingSolverResultRelation? shadingSolverResultRelation)
    where TShadingSolverResult : DiGi.Solar.Interfaces.IShadingSolverResult;

Type parameters

TShadingSolverResult

The specific type of shading solver result to retrieve.

Parameters

shadingSolverResultRelation ShadingSolverResultRelation

The relation containing the references to the solver results.

Returns

System.Collections.Generic.List<TShadingSolverResult>
A list of TShadingSolverResult instances, or null if no results are found.

ShadingSolverResult Class

Represents the result of a shading solver calculation.

public abstract class ShadingSolverResult : DiGi.Core.Classes.GuidResult<DiGi.Solar.Interfaces.IShadingElement>, DiGi.Solar.Interfaces.IShadingSolverResult, DiGi.Solar.Interfaces.IShadingUniqueObject, DiGi.Solar.Interfaces.IShadingSerializableObject, DiGi.Solar.Interfaces.IShadingObject, DiGi.Solar.Interfaces.ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IUniqueObject, DiGi.Core.Interfaces.IResult<DiGi.Solar.Interfaces.IShadingElement>, DiGi.Core.Interfaces.IResult

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Classes.UniqueObjectDiGi.Core.Classes.GuidObjectDiGi.Core.Classes.GuidResultDiGi.Core.Classes.GuidResult<IShadingElement> → ShadingSolverResult

Derived
GeometricalShadingSolverResult
NumericalShadingSolverResult

Implements IShadingSolverResult, IShadingUniqueObject, IShadingSerializableObject, IShadingObject, ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject, DiGi.Core.Interfaces.IUniqueObject, DiGi.Core.Interfaces.IResult<IShadingElement>, DiGi.Core.Interfaces.IResult

Constructors

ShadingSolverResult(ShadingSolverResult) Constructor

Initializes a new instance of the ShadingSolverResult class by copying an existing shading solver result.

public ShadingSolverResult(DiGi.Solar.Classes.ShadingSolverResult? shadingSolverResult);

Parameters

shadingSolverResult ShadingSolverResult

The source shading solver result to copy from.

ShadingSolverResult(DateTime) Constructor

Initializes a new instance of the ShadingSolverResult class with a specified date and time.

public ShadingSolverResult(System.DateTime dateTime);

Parameters

dateTime System.DateTime

The date and time associated with the shading solver result.

ShadingSolverResult(JsonObject) Constructor

Initializes a new instance of the ShadingSolverResult class from a JSON object.

public ShadingSolverResult(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The JSON object containing the result data.

Properties

ShadingSolverResult.Area Property

Gets the area associated with the shading solver result.

public abstract double Area { get; }

Implements Area

Property Value

System.Double

ShadingSolverResult.DateTime Property

Gets the date and time associated with the shading solver result.

public System.DateTime DateTime { get; }

Implements DateTime

Property Value

System.DateTime

ShadingSolverResultRelation Class

Represents a one-to-many directional relationship between a shading element and its corresponding shading solver results.

public class ShadingSolverResultRelation : DiGi.Core.Relation.Classes.OneToManyDirectionalRelation<DiGi.Solar.Interfaces.IShadingElement, DiGi.Solar.Interfaces.IShadingSolverResult>, DiGi.Solar.Interfaces.IShadingRelation, DiGi.Solar.Interfaces.IShadingObject, DiGi.Solar.Interfaces.ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Relation.Interfaces.IRelation, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject

Inheritance System.ObjectDiGi.Core.Classes.ObjectDiGi.Core.Classes.SerializableObjectDiGi.Core.Relation.Classes.RelationDiGi.Core.Relation.Classes.Relation<IShadingElement,IShadingSolverResult>DiGi.Core.Relation.Classes.OneToManyRelation<IShadingElement,IShadingSolverResult>DiGi.Core.Relation.Classes.OneToManyDirectionalRelation<IShadingElement,IShadingSolverResult> → ShadingSolverResultRelation

Implements IShadingRelation, IShadingObject, ISolarObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Relation.Interfaces.IRelation, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject

Constructors

ShadingSolverResultRelation(ShadingSolverResultRelation) Constructor

Initializes a new instance of the ShadingSolverResultRelation class by copying an existing relation.

public ShadingSolverResultRelation(DiGi.Solar.Classes.ShadingSolverResultRelation shadingSolverResultRelation);

Parameters

shadingSolverResultRelation ShadingSolverResultRelation

The source relation to copy.

ShadingSolverResultRelation(IShadingElement, IShadingSolverResult) Constructor

Initializes a new instance of the ShadingSolverResultRelation class with a specific shading element and a single solver result.

public ShadingSolverResultRelation(DiGi.Solar.Interfaces.IShadingElement shadingElement, DiGi.Solar.Interfaces.IShadingSolverResult shadingSolverResult);

Parameters

shadingElement IShadingElement

The parent shading element.

shadingSolverResult IShadingSolverResult

The related shading solver result.

ShadingSolverResultRelation(IShadingElement, IEnumerable<IShadingSolverResult>) Constructor

Initializes a new instance of the ShadingSolverResultRelation class with a specific shading element and a collection of solver results.

public ShadingSolverResultRelation(DiGi.Solar.Interfaces.IShadingElement shadingElement, System.Collections.Generic.IEnumerable<DiGi.Solar.Interfaces.IShadingSolverResult> shadingSolverResults);

Parameters

shadingElement IShadingElement

The parent shading element.

shadingSolverResults System.Collections.Generic.IEnumerable<IShadingSolverResult>

The collection of related shading solver results.

ShadingSolverResultRelation(JsonObject) Constructor

Initializes a new instance of the ShadingSolverResultRelation class from a JSON object.

public ShadingSolverResultRelation(System.Text.Json.Nodes.JsonObject? jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The JSON object containing relation data, or null.

Clone this wiki locally