1. A computer-implemented method for measuring a point cloud of an object using an electronic device, the method comprising: obtaining the point cloud of the object from a storage device of the electronic device; constructing a triangular mesh surface based on the point cloud; determining triangles of the triangular mesh surface and storing the triangles in a queue; determining a reference plane according to the triangles stored in the queue; establishing a three dimensional (3D) object coordinate system according to the reference plane; calculating 3D object coordinates of points in the point cloud in the 3D object coordinate system; determining measurement elements of a profile of the point cloud; determining points in the point cloud corresponding to each of the measurement elements; fitting each of the measurement elements in the 3D object coordinate system according to the 3D object coordinates of the determined points corresponding to each of the measurement elements; and calculating a distance and an angle of two fit measurement elements.