Beispiel #1
0
        /// <summary>
        /// This will actually make the halfedge and its twin.
        /// </summary>
        public HalfEdge(Face incidentFace, Face opposingFace)
        {
            System.Diagnostics.Debug.Assert(incidentFace != null);
              System.Diagnostics.Debug.Assert(opposingFace != null);

              IncidentFace = incidentFace;
              Twin = new HalfEdge(opposingFace);
              Twin.Twin = this;
        }
Beispiel #2
0
 /// <summary>
 /// Only used internally.
 /// </summary>
 private HalfEdge(Face incidentFace)
 {
     IncidentFace = incidentFace;
 }