# XYZtoLBR

Convert cartesian coordinate to spherical coordinate.

```csharp
static double[] XYZtoLBR(double[] xyz)
```

### **Parameters**

`xyz` double\[]

Array of cartesian coordinate elements

### **Return**

double\[]

Array of spherical coordinate elements
