Ejemplo n.º 1
0
        public StructuralStagedNodalRestraints(StructuralVectorBoolSix restraint, string[] nodeRefs, string[] constructionStageRefs, string applicationId = null, Dictionary <string, object> properties = null)
        {
            this.Restraint             = restraint;
            this.NodeRefs              = nodeRefs.ToList();
            this.ConstructionStageRefs = constructionStageRefs.ToList();
            this.ApplicationId         = applicationId;
            if (properties != null)
            {
                this.Properties = properties;
            }

            GenerateHash();
        }
Ejemplo n.º 2
0
        public StructuralRigidConstraints(StructuralVectorBoolSix constraint, string[] nodeRefs, string masterNodeRef, string[] constructionStageRefs, string applicationId = null, Dictionary <string, object> properties = null)
        {
            if (properties != null)
            {
                this.Properties = properties;
            }
            this.ApplicationId         = applicationId;
            this.Constraint            = constraint;
            this.NodeRefs              = nodeRefs.ToList();
            this.MasterNodeRef         = masterNodeRef;
            this.ConstructionStageRefs = constructionStageRefs.ToList();

            GenerateHash();
        }
Ejemplo n.º 3
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();
        }
Ejemplo n.º 4
0
        public Structural1DInfluenceEffect(StructuralInfluenceEffectType effectType, string elementRef, double position, double factor, StructuralVectorBoolSix directions, string applicationId = null, Dictionary <string, object> properties = null)
        {
            if (properties != null)
            {
                this.Properties = properties;
            }
            this.ApplicationId = applicationId;
            this.EffectType    = effectType;
            this.ElementRef    = elementRef;
            this.Position      = position;
            this.Factor        = factor;
            this.Directions    = directions;

            GenerateHash();
        }
Ejemplo n.º 5
0
        public StructuralNodalInfluenceEffect(StructuralInfluenceEffectType effectType, string nodeRef, double factor, StructuralAxis axis, StructuralVectorBoolSix directions, string applicationId = null, Dictionary <string, object> properties = null)
        {
            if (properties != null)
            {
                this.Properties = properties;
            }
            this.ApplicationId = applicationId;
            this.EffectType    = effectType;
            this.NodeRef       = nodeRef;
            this.Factor        = factor;
            this.Axis          = axis;
            this.Directions    = directions;

            GenerateHash();
        }