예제 #1
0
 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();
 }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }
예제 #4
0
        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();
        }