code: def apply(self, data, data_type='point', reference=None, **kwargs):
          
          if data_type == 'point':
              return self.apply_to_point(data)
          elif data_type == 'vector':
              return self.apply_to_vector(data)
          elif data_type == 'image':
              return self.apply_to_image(data, reference, **kwargs)
docs: Apply transform to data