diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-13 14:02:53 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-16 12:16:34 -0700 |
commit | ba03b84b90b50afd99f9688059447bc545e5c0e1 (patch) | |
tree | c0b19d963352e5153f1593a475714064ea6e0d31 /scripts/lib/fontbuild/alignpoints.py | |
parent | 051886031e590616020c26dfdacc8da941b2a232 (diff) |
Add license files and headers.
Diffstat (limited to 'scripts/lib/fontbuild/alignpoints.py')
-rw-r--r-- | scripts/lib/fontbuild/alignpoints.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/scripts/lib/fontbuild/alignpoints.py b/scripts/lib/fontbuild/alignpoints.py index ed502ed..1133716 100644 --- a/scripts/lib/fontbuild/alignpoints.py +++ b/scripts/lib/fontbuild/alignpoints.py @@ -1,3 +1,16 @@ +# Copyright 2015 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import numpy as np @@ -145,4 +158,4 @@ def nearestPoint(a,b,c): # pts = np.array([[1,1],[2,2],[3,3],[4,4]]) # pts2 = np.array([[1,0],[2,0],[3,0],[4,0]]) # print alignPoints(pts2, start = pts[0], end = pts[0]+pts[0]) -# # print findCorner(pts,pts2)
\ No newline at end of file +# # print findCorner(pts,pts2) |