The array may contain more points not only 4, I want to extrude this surface after that but I can’t find the approach to construct this geometry. Any help is appreciated.
You can’t derive a shape like shown in your image from a bunch of arbitrary points in 3D space. Assuming you have an array of 2D points AND they sequentially define the contour of a shape, you can use this array of points to create an instance of THREE.Shape. This shape can then be used to create an instance of THREE.ShapeBufferGeometry or THREE.ExtrudeBufferGeometry.