// NewEdge creates a pair of half-edges, one of them starting at the given vertex.
NewEdge creates a pair of half-edges, one of them starting at the given vertex.
// NewEdge creates a pair of half - edges one of them starting at the given vertex .
func (d *DCEL) NewEdge(face1, face2 *Face, vertex *Vertex) (*HalfEdge, *HalfEdge) {
	halfEdge := d.NewHalfEdge(face1, vertex, nil)
	twin := d.NewHalfEdge(face2, nil, halfEdge)
	halfEdge.Twin = twin
	return halfEdge, twin
}
func ( d * DCEL ) NewEdge ( face1 , face2 * Face , vertex * Vertex ) ( * HalfEdge , * HalfEdge ) { halfEdge := d . NewHalfEdge ( face1 , vertex , nil ) twin := d . NewHalfEdge ( face2 , nil , halfEdge ) halfEdge . Twin = twin return halfEdge , twin }
NewEdge creates a pair of half-edges, one of them starting at the given vertex.
NewEdge creates a pair of half - edges one of them starting at the given vertex .