cdbe12c9ecc86fb54e6310d6aeab98edc6eba879,pyntcloud/plot/points.py,,plot_PyntCloud,#Any#Any#Any#Any#,6
Before Change
conf["camera_position"] = (cloud.xyz.max(0) + abs(cloud.xyz.max(0))).tolist()
conf["look_at"] = cloud.xyz.mean(0).tolist()
with open("{}.json".format(output_name), "w") as json_out_file:
json.dump(conf, json_out_file)
cloud.to_file("{}.ply".format(output_name))
return IFrame("{}.html".format(output_name), width=width, height=height)
After Change
if "FILENAME_PLACEHOLDER" in line:
line = line.replace("FILENAME_PLACEHOLDER", ""{}"".format(output_name))
elif "CAMERA_POSITION_PLACEHOLDER" in line :
line = line.replace("CAMERA_POSITION_PLACEHOLDER", "{}".format(camera_position))
elif "LOOK_AT_PLACEHOLDER" in line:
line = line.replace("LOOK_AT_PLACEHOLDER", "{}".format(look_at))
out.write(line)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: daavoo/pyntcloud
Commit Name: cdbe12c9ecc86fb54e6310d6aeab98edc6eba879
Time: 2017-05-02
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/plot/points.py
Class Name:
Method Name: plot_PyntCloud
Project Name: sentinel-hub/eo-learn
Commit Name: 6b1035d56eca9b7af4abe1a81565667b0bf2fb47
Time: 2020-09-23
Author: william.ouellette@gmail.com
File Name: io/eolearn/io/local_io.py
Class Name: ExportToTiff
Method Name: execute
Project Name: PetrochukM/PyTorch-NLP
Commit Name: eb61fee854576c8a57fd9a20ee03b6fcb89c493a
Time: 2019-05-16
Author: petrochukm@gmail.com
File Name: torchnlp/download.py
Class Name:
Method Name: _maybe_extract