Click or drag to resize

StructuralSurfaceMemberRegion Class

[This is preliminary documentation and is subject to change.]

Defines a region on a StructuralSurfaceMember
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.StructuralElementsStructuralSurfaceMemberRegion

Namespace:  ModelExchanger.AnalysisDataModel.StructuralElements
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralSurfaceMemberRegion : StructuralAnalysisObjectBase, 
	IEquatable<StructuralSurfaceMemberRegion>, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, 
	IHasParentId, IHasArea

The StructuralSurfaceMemberRegion type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAlignment
Determines the position of the system-line of the structural surface member
Public propertyArea
The area of the member The application providing the ModelExchanger.AnalysisDataModel should calculate this field.
Public propertyEccentricityEz
The eccentricity of the system-line in the Z direction
Public propertyEdges
Public propertyId
The ID of the Analysis object. Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.)
Public propertyMaterial
The StructuralMaterial out of which the region consists
Public propertyMember2D
The StructuralSurfaceMember on which the region is created
Public propertyName
The name of the Analysis object. Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.)
Public propertyParentId
The ID of the parent object of the same type
Public propertyThickness
The thickness of the region
Top
Methods
  NameDescription
Public methodEquals(Object)
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).)
Public methodEquals(StructuralAnalysisObjectBase)
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.)
Public methodEquals(StructuralSurfaceMemberRegion)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodToObjectIdentifier
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier
(Defined by IAnalysisObjectExtensions.)
Top
Examples
Creating an instance
using System;
using System.Collections.Generic;
using System.Linq;
using ModelExchanger.AnalysisDataModel.Enums;
using ModelExchanger.AnalysisDataModel.Libraries;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using ModelExchanger.AnalysisDataModel.Subtypes;

namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements
{
    public sealed class StructuralSurfaceMemberRegionExample : BaseExample<StructuralSurfaceMemberRegion>
    {
        protected override IReadOnlyCollection<StructuralSurfaceMemberRegion> CreateAnalysisObjects(AnalysisModel model)
        {
            IReadOnlyDictionary<string, StructuralPointConnection> nodes = model.OfType<StructuralPointConnection>().ToDictionary(x => x.Name, x => x);
            IReadOnlyDictionary<string, StructuralMaterial> materials = model.OfType<StructuralMaterial>().ToDictionary(x => x.Name, x => x);
            IReadOnlyDictionary<string, StructuralSurfaceMember> surfaces = model.OfType<StructuralSurfaceMember>().ToDictionary(x => x.Name, x => x);

            return new[]
            {
                new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R1", surfaces["S6"], new []
                {
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N74"], nodes["N75"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N75"], nodes["N76"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N76"], nodes["N77"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N77"], nodes["N74"]}), 
                }, materials["MAT1"]),
                new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R2", surfaces["S6"], new []
                {
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N78"], nodes["N79"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N79"], nodes["N80"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N80"], nodes["N81"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N81"], nodes["N78"]}), 
                }, materials["MAT1"]), 
                new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R3", surfaces["S6"], new []
                {
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N6"], nodes["N7"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N7"], nodes["N82"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N82"], nodes["N83"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N83"], nodes["N6"]}), 
                }, materials["MAT1"]),
                new StructuralSurfaceMemberRegion(Guid.NewGuid(), "R4", surfaces["S6"], new []
                {
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N1"], nodes["N2"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N2"], nodes["N86"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N86"], nodes["N85"]}), 
                    new Curve<StructuralPointConnection>(CurveGeometricalShape.Line, new []{ nodes["N85"], nodes["N1"]}), 
                }, materials["MAT1"])
            };
        }
    }
}
See Also