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; }
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; }
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); }
//[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; }
public KLedgeInterface(KLnode source, KLnode target, int id) : base(source, target, id) { }
public KLedgePattern(KLnode source, KLnode target, string type, int id) : base(source, target, id) { Type = type; }
public KLedgeStructure(KLnode source, KLnode target, int id) : base(source, target, id) { }
protected bool Equals(KLnode other) { return(Name == other.Name); // && Id == other.Id; }