ArbitraryDefinitionSegment Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Subtypes
public sealed class ArbitraryDefinitionSegment : IEquatable<ArbitraryDefinitionSegment>
The ArbitraryDefinitionSegment type exposes the following members.
Name | Description | |
---|---|---|
ArbitraryDefinitionSegment(StructuralCrossSection, Double, CurveAlignment) |
Create a segment for an arbitrary definition that consists out of a single cross section and a given alignment and span.
| |
ArbitraryDefinitionSegment(StructuralCrossSection, StructuralCrossSection, Double, CurveAlignment) |
Create a segment for an arbitrary definition that consists out of two cross sections and a given alignment and span.
|
Name | Description | |
---|---|---|
Alignment |
The positioning of the system-line of this segment
| |
CrossSectionBegin |
The cross section at the start of the segment
| |
CrossSectionEnd |
The cross section at the end of the segment
| |
Span |
The span of the segment. Must be greater than 0 and less than or equal to 1
|
Name | Description | |
---|---|---|
Equals(ArbitraryDefinitionSegment) | Indicates whether the current object is equal to another object of the same type. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) |
/// <summary> /// Create an arbitrary definition segment which consists out of single profile with a given span and alignment /// </summary> /// <param name="crossSection">The cross section of the segment</param> /// <param name="span">How much the segment spans across the beam, expressed in a relative number (0 ... 1)</param> /// <param name="alignment">Defines how the system line is positioned</param> /// <returns>A segment that is part of an arbitrary definition</returns> private ArbitraryDefinitionSegment CreateArbitraryDefinitionSegment(StructuralCrossSection crossSection, double span, CurveAlignment alignment) { return new ArbitraryDefinitionSegment(crossSection, span, alignment); } /// <summary> /// Create an arbitrary definition segment which consists out of two different profiles with a given span and alignment /// </summary> /// <param name="crossSectionBegin">The cross section at the beginning of the segment</param> /// <param name="crossSectionEnd">The cross section at the end of the segment</param> /// <param name="span">How much the segment spans across the beam, expressed in a relative number (0 ... 1)</param> /// <param name="alignment">Defines how the system line is positioned</param> /// <returns></returns> private ArbitraryDefinitionSegment CreateArbitraryDefinitionSegment(StructuralCrossSection crossSectionBegin, StructuralCrossSection crossSectionEnd, double span, CurveAlignment alignment) { return new ArbitraryDefinitionSegment(crossSectionBegin, crossSectionEnd, span, alignment); }