Exemplo n.º 1
0
 public KLedgeJoint(KLnode source, KLnode target, KLdof dof, KLcontactType contacType, int id,
                    KLcontactStatistic contactStatistic, double[] pointOnJoint)
     : base(source, target, dof, contacType, id)
 {
     ContactStatistic = contactStatistic;
     PointOnJoint     = pointOnJoint;
 }
Exemplo n.º 2
0
 public KLedgeContact(KLnode source, KLnode target, KLdof dof, KLcontactType contacType,
                      KLfaceContactType faceContacType, KLfaceOrientation faceOrientation, double radius, double[] pointOnContact, int id)
     : base(source, target, dof, contacType, id)
 {
     FaceContacType  = faceContacType;
     FaceOrientation = faceOrientation;
     PointOnContact  = pointOnContact;
     Radius          = radius;
 }
Exemplo n.º 3
0
 public bool SameTypeNode(KLnode other)
 {
     if (this.GetType() == typeof(KLgraph.KLnodePart) &&
         other.GetType() == typeof(KLgraph.KLnodePart))
     {
         return(true);
     }
     if (this.GetType() == typeof(KLgraph.KLnodeAssembly) &&
         other.GetType() == typeof(KLgraph.KLnodeAssembly))
     {
         return(true);
     }
     return(false);
 }
Exemplo n.º 4
0
            //[JsonIgnore]
            //public List<Face2> Faces;
            //[JsonProperty("KinematicPair")]
            //public string KinematicPair;

            public KLedgeInterface(KLnode source, KLnode target, KLdof dof, KLcontactType contactType, int id)
                : base(source, target, id)
            {
                Dof        = dof;
                ContacType = contactType;
            }
Exemplo n.º 5
0
 public KLedgeInterface(KLnode source, KLnode target, int id)
     : base(source, target, id)
 {
 }
Exemplo n.º 6
0
 public KLedgePattern(KLnode source, KLnode target, string type, int id)
     : base(source, target, id)
 {
     Type = type;
 }
Exemplo n.º 7
0
 public KLedgeStructure(KLnode source, KLnode target, int id)
     : base(source, target, id)
 {
 }
Exemplo n.º 8
0
 protected bool Equals(KLnode other)
 {
     return(Name == other.Name); // && Id == other.Id;
 }