public StructuralSpringProperty(StructuralAxis axis, StructuralVectorSix stiffness, string applicationId = null, Dictionary <string, object> properties = null) { this.Axis = axis; this.Stiffness = stiffness; this.ApplicationId = applicationId; if (properties != null) { this.Properties = properties; } GenerateHash(); }
public Structural1DLoadLine(double[] value, StructuralVectorSix loading, string loadCaseRef, string applicationId = null, Dictionary <string, object> properties = null) { if (properties != null) { this.Properties = properties; } this.Value = value.ToList(); this.Loading = loading; this.LoadCaseRef = loadCaseRef; this.ApplicationId = applicationId; GenerateHash(); }
public Structural1DLoad(StructuralVectorSix loading, string[] elementRefs, string loadCaseRef, string applicationId = null, Dictionary <string, object> properties = null) { this.Loading = loading; this.ElementRefs = elementRefs == null ? null : elementRefs.ToList(); this.LoadCaseRef = loadCaseRef; this.ApplicationId = applicationId; if (properties != null) { this.Properties = properties; } GenerateHash(); }
public StructuralNode(double[] value, StructuralAxis axis, StructuralVectorBoolSix restraint, StructuralVectorSix stiffness, double mass, string applicationId = null, Dictionary <string, object> properties = null) { if (properties != null) { Properties = properties; } Value = value.ToList(); Axis = axis; Restraint = restraint; Stiffness = stiffness; Mass = mass; ApplicationId = applicationId; GenerateHash(); }