This is a method for the generic function intensity.
It computes the empirical intensity of a multi-dimensional point pattern
(object of class "ppx" including "pp3"),
i.e. the average density of points per unit volume.
If the point pattern is multitype, the intensities of the
different types are computed separately.