{
// Add points with no tag value and height = 17.
// The points have the same spatial reference as the tin editor, so there is no need to provide it.
tinEditor.AddMassPoints(points, 0, 17);
Coordinate3D[] coordinate3Ds = new Coordinate3D[] //Define some coordinates
{
new Coordinate3D(0,0,5),
new Coordinate3D(1,1,6),
new Coordinate3D(2,1,7)
};
// Add coordinates as nodes with tag value = 42. The height will come from the z-values of the coordinates.
tinEditor.AddMassPointsZ(coordinate3Ds, 42);
// Add z-aware points with tag value = 21. The height will come from the z-values of the points.
// The points are in a different spatial reference than the tin editor, so we provide the spatial
// reference of the points. The points will be projected to the spatial reference of the tin editor.
tinEditor.AddMassPointsZ(pointsZ, 21, SpatialReferenceBuilder.CreateSpatialReference(54004));
}