(self, rectangles)
return np.ravel_multi_index(np.atleast_2d(ijk_index),
                                    self.num_points)
Return the index of the bottom-left corner of the rectangle.

        Parameters
        ----------
        rectangles: ndarray
            The indices of the rectangles.

        Returns
        -------
        corners : ndarray (int)
            The indices of the bottom-left corners of the rectangles.
Return the index of the bottom-left corner of the rectangle.
Return the index of the bottom - left corner of the rectangle .
def rectangle_corner_index(self, rectangles):
        """Return the index of the bottom-left corner of the rectangle.

        Parameters
        ----------
        rectangles: ndarray
            The indices of the rectangles.

        Returns
        -------
        corners : ndarray (int)
            The indices of the bottom-left corners of the rectangles.

        """
        ijk_index = np.vstack(np.unravel_index(rectangles,
                                               self.num_points - 1))
        return np.ravel_multi_index(np.atleast_2d(ijk_index),
                                    self.num_points)
def rectangle_corner_index ( self , rectangles ) : ijk_index = np . vstack ( np . unravel_index ( rectangles , self . num_points - 1 ) ) return np . ravel_multi_index ( np . atleast_2d ( ijk_index ) , self . num_points )