code: def test_rectangle():
      pointa = [3.0, 1.0, 1.0]
      pointb = [3.0, 2.0, 1.0]
      pointc = [1.0, 2.0, 1.0]
      pointd = [1.0, 1.0, 1.0]
  
      # Do a rotation to be in full 3D space with floating point coordinates
      trans = pv.core.utilities.transformations.axis_angle_rotation(
          [1, 1, 1], 30
      )
      rotated = pv.core.utilities.transformations.apply_transformation_to_points(
          trans, np.array([pointa, pointb, pointc, pointd])
      )
  
      # Test all possible orders of the points
      for pt_tuples in permutations(rotated, 4):
          mesh = pv.Rectangle(list(pt_tuples[0:3]))
          assert mesh.n_points
          assert mesh.n_cells
          assert np.allclose(mesh.points, pt_tuples)
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 41 for calling a global function with example usage: test_rectangle() without return types