afb335864727be4765d13aa71f8e53457f1cb85f,pyntcloud/geometry/areas.py,,coplanar_area,#,19
Before Change
p, normal = plane_def_by(points[:3])
else:
normal = normalize(plane_normal)
//: get an array with the first point positioned as last
points_rolled = np.roll(points, len(points) - 1, axis=0)
After Change
if not plane_normal:
// p, normal = plane_def_by(points[:3])
pass
else:
// normal = normalize(plane_normal)
pass
//: get an array with the first point positioned as last
points_rolled = np.roll(points, len(points) - 1, axis=0)
cross_product = np.cross(points, points_rolled)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: daavoo/pyntcloud
Commit Name: afb335864727be4765d13aa71f8e53457f1cb85f
Time: 2017-07-04
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/geometry/areas.py
Class Name:
Method Name: coplanar_area
Project Name: commonsense/conceptnet5
Commit Name: 9582b206c63f01ca3f6990f50b0cd7754e2fe65b
Time: 2013-05-24
Author: rob@luminoso.com
File Name: conceptnet5/nodes.py
Class Name:
Method Name: make_concept_uri
Project Name: facebookresearch/pytext
Commit Name: 66584dea87782aed5509e4269a9f015002e1f5c1
Time: 2021-02-23
Author: mikekg@fb.com
File Name: pytext/torchscript/module.py
Class Name: PyTextEmbeddingModuleWithDense
Method Name: forward