56e2fa94c13c2493a6829ff1eaad8287464ece92,pyntcloud/pyntcloud.py,PyntCloud,add_dist_to_point,#PyntCloud#Any#Any#Any#,210
Before Change
//: store the point formatted to use the scipy"s cdist
origin = np.array([point])
coords = self.extract_sf("x","y","z", element=element)
//:get the coordiantes of the point as str in order to name the SF
name = ",".join(str(e) for e in point)
After Change
//: store the point formatted to use the scipy"s cdist
origin = np.array([point])
coords = cloud[["x","y","z",]]
//:get the coordiantes of the point as str in order to name the SF
name = ",".join(str(e) for e in point)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: daavoo/pyntcloud
Commit Name: 56e2fa94c13c2493a6829ff1eaad8287464ece92
Time: 2016-10-10
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: add_dist_to_point
Project Name: daavoo/pyntcloud
Commit Name: 56e2fa94c13c2493a6829ff1eaad8287464ece92
Time: 2016-10-10
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: add_relative_luminance
Project Name: daavoo/pyntcloud
Commit Name: 56e2fa94c13c2493a6829ff1eaad8287464ece92
Time: 2016-10-10
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: clean_PT