MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / get_3rd_point

Function get_3rd_point

package_utils/transform.py:20–22  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

18
19
20def get_3rd_point(a, b):
21 direct = a - b
22 return b + np.array([-direct[1], direct[0]], dtype=np.float32)
23
24
25def get_affine_transform(center,

Callers 1

get_affine_transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected