Example #1
0
 /// <summary>
 /// Set the destination of the segment that includes the subsegment.
 /// </summary>
 public void SetSegDest(Vertex ptr)
 {
     seg.vertices[3 - orient] = ptr;
 }
Example #2
0
 /// <summary>
 /// Set destination of a subsegment.
 /// </summary>
 public void SetDest(Vertex ptr)
 {
     seg.vertices[1 - orient] = ptr;
 }
Example #3
0
 /// <summary>
 /// Set the origin of the segment that includes the subsegment.
 /// </summary>
 public void SetSegOrg(Vertex ptr)
 {
     seg.vertices[2 + orient] = ptr;
 }
Example #4
0
 /// <summary>
 /// Set the origin or destination of a subsegment.
 /// </summary>
 public void SetOrg(Vertex ptr)
 {
     seg.vertices[orient] = ptr;
 }