/// <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; }
/// <summary> /// Only used internally. /// </summary> private HalfEdge(Face incidentFace) { IncidentFace = incidentFace; }