Building polylines, points, and volumes now all use same method.