StructuralPointConnection Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralElements
public sealed class StructuralPointConnection : StructuralAnalysisObjectBase, IStructuralElementAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, ICoordinate, IEquatable<StructuralPointConnection>
The StructuralPointConnection type exposes the following members.
Name | Description | |
---|---|---|
StructuralPointConnection |
Create a node with given X-, Y- and Z-coordinates
|
Name | Description | |
---|---|---|
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
Results |
0D Analysis results
| |
X |
The X-coordinate
| |
Y |
The Y-coordinate
| |
Z |
The Z-coordinate
|
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
Equals(StructuralPointConnection) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
CrossProduct |
Calculates the cross product between 2 coordinates (= vectors)
(Defined by ICoordinateExtensions.) | |
Magnitude |
Calculates the magnitude (size or length) of a coordinate (= vector), between origin (0,0,0) and the coordinate itself.
(Defined by ICoordinateExtensions.) | |
ToGeometryPoint |
Convert an ICoordinate to a geometry point
(Defined by ICoordinateExtensions.) | |
ToObjectIdentifier |
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier (Defined by IAnalysisObjectExtensions.) |
using System; using System.Collections.Generic; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using UnitsNet; namespace ModelExchanger.AnalysisDataModel.Example.StructuralElements { public sealed class StructuralPointConnectionExample : BaseExample<StructuralPointConnection> { protected override IReadOnlyCollection<StructuralPointConnection> CreateAnalysisObjects(AnalysisModel model) { return new StructuralPointConnection[] { new StructuralPointConnection(Guid.NewGuid(), "N1", Length.FromMeters(0), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N10", Length.FromMeters(2.5), Length.FromMeters(12), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N11", Length.FromMeters(2.5), Length.FromMeters(4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N12", Length.FromMeters(2.5), Length.FromMeters(4), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N13", Length.FromMeters(2.5), Length.FromMeters(8), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N14", Length.FromMeters(2.5), Length.FromMeters(8), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N15", Length.FromMeters(5), Length.FromMeters(8), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N16", Length.FromMeters(5), Length.FromMeters(4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N17", Length.FromMeters(5), Length.FromMeters(8), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N18", Length.FromMeters(5), Length.FromMeters(4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N19", Length.FromMeters(0), Length.FromMeters(4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N2", Length.FromMeters(5), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N20", Length.FromMeters(0), Length.FromMeters(8), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N21", Length.FromMeters(2.5), Length.FromMeters(1), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N22", Length.FromMeters(5), Length.FromMeters(1), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N23", Length.FromMeters(2.5), Length.FromMeters(2), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N24", Length.FromMeters(5), Length.FromMeters(2), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N25", Length.FromMeters(2.5), Length.FromMeters(3), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N26", Length.FromMeters(5), Length.FromMeters(3), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N27", Length.FromMeters(0), Length.FromMeters(3), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N28", Length.FromMeters(0), Length.FromMeters(2), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N29", Length.FromMeters(0), Length.FromMeters(1), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N3", Length.FromMeters(5), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N30", Length.FromMeters(2.5), Length.FromMeters(5), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N31", Length.FromMeters(5), Length.FromMeters(5), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N32", Length.FromMeters(2.5), Length.FromMeters(6), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N33", Length.FromMeters(5), Length.FromMeters(6), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N34", Length.FromMeters(2.5), Length.FromMeters(7), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N35", Length.FromMeters(5), Length.FromMeters(7), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N36", Length.FromMeters(0), Length.FromMeters(7), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N37", Length.FromMeters(0), Length.FromMeters(6), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N38", Length.FromMeters(0), Length.FromMeters(5), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N39", Length.FromMeters(2.5), Length.FromMeters(9), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N4", Length.FromMeters(0), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N40", Length.FromMeters(5), Length.FromMeters(9), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N41", Length.FromMeters(2.5), Length.FromMeters(10), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N42", Length.FromMeters(5), Length.FromMeters(10), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N43", Length.FromMeters(2.5), Length.FromMeters(11), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N44", Length.FromMeters(5), Length.FromMeters(11), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N45", Length.FromMeters(0), Length.FromMeters(11), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N46", Length.FromMeters(0), Length.FromMeters(10), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N47", Length.FromMeters(0), Length.FromMeters(9), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N48", Length.FromMeters(0), Length.FromMeters(11), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N49", Length.FromMeters(0), Length.FromMeters(9), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N5", Length.FromMeters(5), Length.FromMeters(12), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N50", Length.FromMeters(0), Length.FromMeters(9), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N51", Length.FromMeters(0), Length.FromMeters(11), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N52", Length.FromMeters(0), Length.FromMeters(7), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N53", Length.FromMeters(0), Length.FromMeters(5), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N54", Length.FromMeters(0), Length.FromMeters(5), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N55", Length.FromMeters(0), Length.FromMeters(7), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N56", Length.FromMeters(0), Length.FromMeters(3), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N57", Length.FromMeters(0), Length.FromMeters(1), Length.FromMeters(2.6)), new StructuralPointConnection(Guid.NewGuid(), "N58", Length.FromMeters(0), Length.FromMeters(1), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N59", Length.FromMeters(0), Length.FromMeters(3), Length.FromMeters(1)), new StructuralPointConnection(Guid.NewGuid(), "N6", Length.FromMeters(0), Length.FromMeters(12), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N60", Length.FromMeters(0), Length.FromMeters(-4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N61", Length.FromMeters(5), Length.FromMeters(-4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N62", Length.FromMeters(0), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N63", Length.FromMeters(2), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N64", Length.FromMeters(2), Length.FromMeters(-4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N65", Length.FromMeters(5), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N66", Length.FromMeters(2.8), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N67", Length.FromMeters(2.8), Length.FromMeters(0), Length.FromMeters(2.1)), new StructuralPointConnection(Guid.NewGuid(), "N68", Length.FromMeters(4), Length.FromMeters(0), Length.FromMeters(2.1)), new StructuralPointConnection(Guid.NewGuid(), "N69", Length.FromMeters(4), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N7", Length.FromMeters(5), Length.FromMeters(12), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N70", Length.FromMeters(2), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N71", Length.FromMeters(2), Length.FromMeters(0), Length.FromMeters(5.7)), new StructuralPointConnection(Guid.NewGuid(), "N72", Length.FromMeters(3), Length.FromMeters(0), Length.FromMeters(5.7)), new StructuralPointConnection(Guid.NewGuid(), "N73", Length.FromMeters(3), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N74", Length.FromMeters(5), Length.FromMeters(3), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N75", Length.FromMeters(4), Length.FromMeters(3), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N76", Length.FromMeters(4), Length.FromMeters(5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N77", Length.FromMeters(5), Length.FromMeters(5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N78", Length.FromMeters(5), Length.FromMeters(7), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N79", Length.FromMeters(4), Length.FromMeters(7), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N8", Length.FromMeters(0), Length.FromMeters(12), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N80", Length.FromMeters(4), Length.FromMeters(9), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N81", Length.FromMeters(5), Length.FromMeters(9), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N82", Length.FromMeters(5), Length.FromMeters(11.5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N83", Length.FromMeters(0), Length.FromMeters(11.5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N84", Length.FromMeters(5), Length.FromMeters(12), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N85", Length.FromMeters(0), Length.FromMeters(0.5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N86", Length.FromMeters(5), Length.FromMeters(0.5), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N9", Length.FromMeters(2.5), Length.FromMeters(0), Length.FromMeters(7.2)), new StructuralPointConnection(Guid.NewGuid(), "N87", Length.FromMeters(1), Length.FromMeters(-3), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N88", Length.FromMeters(4), Length.FromMeters(-3), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N89", Length.FromMeters(4), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N90", Length.FromMeters(4), Length.FromMeters(-2.5), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N91", Length.FromMeters(2.5), Length.FromMeters(14.5), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N92", Length.FromMeters(2.5), Length.FromMeters(14.5), Length.FromMeters(5)), new StructuralPointConnection(Guid.NewGuid(), "N93", Length.FromMeters(0), Length.FromMeters(6), Length.FromMeters(3)), new StructuralPointConnection(Guid.NewGuid(), "N94", Length.FromMeters(0.837), Length.FromMeters(-1.040), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N95", Length.FromMeters(8), Length.FromMeters(0), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N96", Length.FromMeters(8), Length.FromMeters(12), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N97", Length.FromMeters(8), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N98", Length.FromMeters(8), Length.FromMeters(12), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N99", Length.FromMeters(6), Length.FromMeters(2), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N100", Length.FromMeters(7), Length.FromMeters(2), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N101", Length.FromMeters(7), Length.FromMeters(4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N102", Length.FromMeters(6), Length.FromMeters(4), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N103", Length.FromMeters(6), Length.FromMeters(8), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N104", Length.FromMeters(7), Length.FromMeters(8), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N105", Length.FromMeters(7), Length.FromMeters(10), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N106", Length.FromMeters(6), Length.FromMeters(10), Length.FromMeters(3.6)), new StructuralPointConnection(Guid.NewGuid(), "N107", Length.FromMeters(10), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N108", Length.FromMeters(10), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N109", Length.FromMeters(14), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N110", Length.FromMeters(14), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N111", Length.FromMeters(16), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N112", Length.FromMeters(22), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N113", Length.FromMeters(16), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N114", Length.FromMeters(22), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N115", Length.FromMeters(30), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N116", Length.FromMeters(30), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N117", Length.FromMeters(28), Length.FromMeters(1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N118", Length.FromMeters(25), Length.FromMeters(-1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N119", Length.FromMeters(25), Length.FromMeters(-4), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N120", Length.FromMeters(29), Length.FromMeters(-1), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N121", Length.FromMeters(28), Length.FromMeters(-3), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N122", Length.FromMeters(28), Length.FromMeters(0), Length.FromMeters(0)), new StructuralPointConnection(Guid.NewGuid(), "N123", Length.FromMeters(26), Length.FromMeters(-3), Length.FromMeters(0)), }; } } }