Put a geometry into the data array. Set true to populate the list of points and edges, needed for the ContrainedDelaunayTriangulation, Set false to populate only the list of points, Note the z-value is forced to O when it's equal to NaN.