コード例 #1
0
 /// <summary>
 /// Sets p as Parent of this LinkNode. The LinkNode is first moved relative to its new parent 
 /// according to RelativeMat. If there was already a parent, this linknode is
 /// removed from that parent's list of children.
 /// </summary>
 /// <param name="p"></param>
 /// <param name="RelativeMat"></param>
 public void SetAsParent(LinkNode p, Matrix RelativeMat)
 {
     p.AddAsChild(this, RelativeMat);
 }
コード例 #2
0
 /// <summary>
 /// Sets p as Parent of this LinkNode. The current spatial relatitionship between p and the LinkNode
 /// will be maintained. If there was already a parent, this linknode is
 /// removed from that parent's list of children.
 /// </summary>
 /// <param name="p"></param>
 public void SetAsParent(LinkNode p)
 {
     p.AddAsChild(this);
 }