Exemple #1
0
 public RFMember(Member member, RFLine baseLine, double kcry, double kcrz)
 {
     Comment             = member.Comment;
     ID                  = member.ID;
     IsGenerated         = member.IsGenerated;
     IsValid             = member.IsValid;
     No                  = member.No;
     Tag                 = member.Tag;
     Length              = member.Length;
     RotationAngle       = member.Rotation.Angle * 180 / Math.PI;
     RotationHelpNodeNo  = member.Rotation.HelpNodeNo;
     RotationPlane       = member.Rotation.Plane;
     RotationType        = member.Rotation.Type;
     Type                = member.Type;
     Weight              = member.Weight;
     DivisionNo          = member.DivisionNo;
     EccentricityNo      = member.EccentricityNo;
     StartCrossSectionNo = member.StartCrossSectionNo;
     EndCrossSectionNo   = member.EndCrossSectionNo;
     StartHingeNo        = member.StartHingeNo;
     EndHingeNo          = member.EndHingeNo;
     FoundationNo        = member.FoundationNo;
     LineNo              = member.LineNo;
     NonlinearityNo      = member.NonlinearityNo;
     RibNo               = member.RibNo;
     TaperShape          = member.TaperShape;
     Kcry                = kcry;
     Kcrz                = kcrz;
     BaseLine            = baseLine;
     Frames              = null;
     ToModify            = false;
     ToDelete            = false;
 }
Exemple #2
0
 public RFMember(RFMember other) : this(other, null, other.Kcry, other.Kcrz)
 {
     ToModify = other.ToModify;
     ToDelete = other.ToDelete;
     if (other.BaseLine != null)
     {
         BaseLine = new RFLine(other.BaseLine);
     }
     Frames = other.Frames;
 }
Exemple #3
0
 public RFLineHinge(LineHinge hinge, RFLine baseLine)
 {
     LineNo   = hinge.LineNo;
     SfcNo    = hinge.SurfaceNo;
     Comment  = hinge.Comment;
     ID       = hinge.ID;
     IsValid  = hinge.IsValid;
     No       = hinge.No;
     Tag      = hinge.Tag;
     Rx       = hinge.RotationalConstantX / 1000;
     Ry       = hinge.RotationalConstantY / 1000;
     Rz       = hinge.RotationalConstantZ / 1000;
     Tx       = hinge.TranslationalConstantX / 1000;
     Ty       = hinge.TranslationalConstantY / 1000;
     Tz       = hinge.TranslationalConstantZ / 1000;
     Side     = hinge.Side;
     BaseLine = baseLine;
     ToModify = false;
     ToDelete = false;
 }
 public RFMember(RFMember other) : this(other, null, other.Kcry, other.Kcrz)
 {
     ToModify = other.ToModify;
     ToDelete = other.ToDelete;
     if (other.BaseLine != null)
     {
         BaseLine = new RFLine(other.BaseLine);
     }
     if (other.Type == MemberType.ResultBeamType)
     {
         ExceptMembers   = other.ExceptMembers;
         ExceptSolids    = other.ExceptSolids;
         ExceptSurfaces  = other.ExceptSurfaces;
         IncludeMembers  = other.IncludeMembers;
         IncludeSolids   = other.IncludeSolids;
         IncludeSurfaces = other.IncludeSurfaces;
         Integrate       = other.Integrate;
         Parameters      = other.Parameters;
     }
     Frames = other.Frames;
 }
Exemple #5
0
 public RFMember(Member member, RFLine baseLine) : this(member, baseLine, 1.0, 1.0)
 {
 }
Exemple #6
0
 public RFLineHinge(RFLineHinge other) : this(other, null)
 {
     ToModify = other.ToModify;
     ToDelete = other.ToDelete;
     BaseLine = new RFLine(other.BaseLine);
 }
 public RFLine(RFLine other) : this(other, other.ControlPoints, other.Order, other.Weights, other.Knots)
 {
     ToModify = other.ToModify;
     ToDelete = other.ToDelete;
 }