Exemple #1
0
 /// <summary>
 /// Dissolve a bond (from the triangle side).
 /// </summary>
 internal void SegDissolve(SubSegment dummy)
 {
     tri.subsegs[orient].seg = dummy;
 }
Exemple #2
0
 /// <summary>
 /// Check a subsegment's deallocation.
 /// </summary>
 internal static bool IsDead(SubSegment sub)
 {
     return(sub.subsegs[0].seg == null);
 }
Exemple #3
0
 /// <summary>
 /// Set a subsegment's deallocation.
 /// </summary>
 internal static void Kill(SubSegment sub)
 {
     sub.subsegs[0].seg = null;
     sub.subsegs[1].seg = null;
 }
Exemple #4
0
 /// <summary>
 /// Dissolve a subsegment bond (from one side).
 /// </summary>
 /// <remarks>Note that the other subsegment will still think it's
 /// connected to this subsegment.</remarks>
 internal void Dissolve(SubSegment dummy)
 {
     seg.subsegs[orient].seg = dummy;
 }