I want to make a point collection from an Xyz file, in order to do that, I need to aggregate the points to the point collection, but it doesn't seem to work.
Esri.ArcGISRuntime.Geometry.PointCollection VMM40Points = new Esri.ArcGISRuntime.Geometry.PointCollection(Spatialreference);
for (int i = 1; i == xyz.Count / 3; i += 3)
VMM40Points.Add(xyz[i - 1], xyz, xyz[i + 1]);
> it doesn't seem to work.
What is it that doesn't seem to work? Are you getting a crash, no points added, invalid results or?
Also if you're creating new geometries, I'd recommend looking at the GeometryBuilders, like PolygonBuilder and PolylineBuilder.