question: private static void fill ( DTSweepContext tcx , AdvancingFrontNode node ) { DelaunayTriangle triangle = new DelaunayTriangle ( node . prev . point , node . point , node . next . point ) ; triangle . markNeighbor ( node . prev . triangle ) ; triangle . markNeighbor ( node . triangle ) ; tcx . addToList ( triangle ) ; node . prev . next = node . next ; node . next . prev = node . prev ; tcx . removeNode ( node ) ; if ( ! legalize ( tcx , triangle ) ) { tcx . mapTriangleToNodes ( triangle ) ; } }
target:  Adds a triangle to the advancing front to fill a hole.