public Structural1DElement(double[] value, Structural1DElementType elementType, string propertyRef, StructuralVectorThree zAxis, StructuralVectorBoolSix[] endRelease, StructuralVectorThree[] offset, string applicationId = null, Dictionary <string, object> properties = null) { if (properties != null) { Properties = properties; } Value = value.ToList(); ElementType = elementType; PropertyRef = propertyRef; ZAxis = zAxis; EndRelease = endRelease == null ? null : endRelease.ToList(); Offset = offset == null ? null : offset.ToList(); ApplicationId = applicationId; GenerateHash(); }
public StructuralAxis(StructuralVectorThree xdir, StructuralVectorThree ydir, StructuralVectorThree normal, string applicationId = null, Dictionary <string, object> properties = null) { this.Normal = normal; this.Xdir = xdir; this.Ydir = ydir; this.ApplicationId = applicationId; if (properties != null) { this.Properties = properties; } GenerateHash(); }