Skip to content

Commit e850d2d

Browse files
docs: relicense to apache 2.0 to match vamp
1 parent 6a0e67d commit e850d2d

5 files changed

Lines changed: 198 additions & 136 deletions

File tree

LICENSE.md

Lines changed: 193 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,193 @@
1-
# PolyForm Noncommercial License 1.0.0
2-
3-
<https://polyformproject.org/licenses/noncommercial/1.0.0>
4-
5-
## Acceptance
6-
7-
In order to get any license under these terms, you must agree
8-
to them as both strict obligations and conditions to all
9-
your licenses.
10-
11-
## Copyright License
12-
13-
The licensor grants you a copyright license for the
14-
software to do everything you might do with the software
15-
that would otherwise infringe the licensor's copyright
16-
in it for any permitted purpose. However, you may
17-
only distribute the software according to [Distribution
18-
License](#distribution-license) and make changes or new works
19-
based on the software according to [Changes and New Works
20-
License](#changes-and-new-works-license).
21-
22-
## Distribution License
23-
24-
The licensor grants you an additional copyright license
25-
to distribute copies of the software. Your license
26-
to distribute covers distributing the software with
27-
changes and new works permitted by [Changes and New Works
28-
License](#changes-and-new-works-license).
29-
30-
## Notices
31-
32-
You must ensure that anyone who gets a copy of any part of
33-
the software from you also gets a copy of these terms or the
34-
URL for them above, as well as copies of any plain-text lines
35-
beginning with `Required Notice:` that the licensor provided
36-
with the software. For example:
37-
38-
> Required Notice: Copyright Rice University
39-
40-
## Changes and New Works License
41-
42-
The licensor grants you an additional copyright license to
43-
make changes and new works based on the software for any
44-
permitted purpose.
45-
46-
## Patent License
47-
48-
The licensor grants you a patent license for the software that
49-
covers patent claims the licensor can license, or becomes able
50-
to license, that you would infringe by using the software.
51-
52-
## Noncommercial Purposes
53-
54-
Any noncommercial purpose is a permitted purpose.
55-
56-
## Personal Uses
57-
58-
Personal use for research, experiment, and testing for
59-
the benefit of public knowledge, personal study, private
60-
entertainment, hobby projects, amateur pursuits, or religious
61-
observance, without any anticipated commercial application,
62-
is use for a permitted purpose.
63-
64-
## Noncommercial Organizations
65-
66-
Use by any charitable organization, educational institution,
67-
public research organization, public safety or health
68-
organization, environmental protection organization,
69-
or government institution is use for a permitted purpose
70-
regardless of the source of funding or obligations resulting
71-
from the funding.
72-
73-
## Fair Use
74-
75-
You may have "fair use" rights for the software under the
76-
law. These terms do not limit them.
77-
78-
## No Other Rights
79-
80-
These terms do not allow you to sublicense or transfer any of
81-
your licenses to anyone else, or prevent the licensor from
82-
granting licenses to anyone else. These terms do not imply
83-
any other licenses.
84-
85-
## Patent Defense
86-
87-
If you make any written claim that the software infringes or
88-
contributes to infringement of any patent, your patent license
89-
for the software granted under these terms ends immediately. If
90-
your company makes such a claim, your patent license ends
91-
immediately for work on behalf of your company.
92-
93-
## Violations
94-
95-
The first time you are notified in writing that you have
96-
violated any of these terms, or done anything with the software
97-
not covered by your licenses, your licenses can nonetheless
98-
continue if you come into full compliance with these terms,
99-
and take practical steps to correct past violations, within
100-
32 days of receiving notice. Otherwise, all your licenses
101-
end immediately.
102-
103-
## No Liability
104-
105-
***As far as the law allows, the software comes as is, without
106-
any warranty or condition, and the licensor will not be liable
107-
to you for any damages arising out of these terms or the use
108-
or nature of the software, under any kind of legal claim.***
109-
110-
## Definitions
111-
112-
The **licensor** is the individual or entity offering these
113-
terms, and the **software** is the software the licensor makes
114-
available under these terms.
115-
116-
**You** refers to the individual or entity agreeing to these
117-
terms.
118-
119-
**Your company** is any legal entity, sole proprietorship,
120-
or other kind of organization that you work for, plus all
121-
organizations that have control over, are under the control of,
122-
or are under common control with that organization. **Control**
123-
means ownership of substantially all the assets of an entity,
124-
or the power to direct its management and policies by vote,
125-
contract, or otherwise. Control can be direct or indirect.
126-
127-
**Your licenses** are all the licenses granted to you for the
128-
software under these terms.
129-
130-
**Use** means anything you do with the software requiring one
131-
of your licenses.
1+
# Apache License
2+
3+
_Version 2.0, January 2004_
4+
_&lt;<http://www.apache.org/licenses/>&gt;_
5+
6+
### Terms and Conditions for use, reproduction, and distribution
7+
8+
#### 1. Definitions
9+
10+
“License” shall mean the terms and conditions for use, reproduction, and
11+
distribution as defined by Sections 1 through 9 of this document.
12+
13+
“Licensor” shall mean the copyright owner or entity authorized by the copyright
14+
owner that is granting the License.
15+
16+
“Legal Entity” shall mean the union of the acting entity and all other entities
17+
that control, are controlled by, or are under common control with that entity.
18+
For the purposes of this definition, “control” means **(i)** the power, direct or
19+
indirect, to cause the direction or management of such entity, whether by
20+
contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
21+
outstanding shares, or **(iii)** beneficial ownership of such entity.
22+
23+
“You” (or “Your”) shall mean an individual or Legal Entity exercising
24+
permissions granted by this License.
25+
26+
“Source” form shall mean the preferred form for making modifications, including
27+
but not limited to software source code, documentation source, and configuration
28+
files.
29+
30+
“Object” form shall mean any form resulting from mechanical transformation or
31+
translation of a Source form, including but not limited to compiled object code,
32+
generated documentation, and conversions to other media types.
33+
34+
“Work” shall mean the work of authorship, whether in Source or Object form, made
35+
available under the License, as indicated by a copyright notice that is included
36+
in or attached to the work (an example is provided in the Appendix below).
37+
38+
“Derivative Works” shall mean any work, whether in Source or Object form, that
39+
is based on (or derived from) the Work and for which the editorial revisions,
40+
annotations, elaborations, or other modifications represent, as a whole, an
41+
original work of authorship. For the purposes of this License, Derivative Works
42+
shall not include works that remain separable from, or merely link (or bind by
43+
name) to the interfaces of, the Work and Derivative Works thereof.
44+
45+
“Contribution” shall mean any work of authorship, including the original version
46+
of the Work and any modifications or additions to that Work or Derivative Works
47+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
48+
by the copyright owner or by an individual or Legal Entity authorized to submit
49+
on behalf of the copyright owner. For the purposes of this definition,
50+
“submitted” means any form of electronic, verbal, or written communication sent
51+
to the Licensor or its representatives, including but not limited to
52+
communication on electronic mailing lists, source code control systems, and
53+
issue tracking systems that are managed by, or on behalf of, the Licensor for
54+
the purpose of discussing and improving the Work, but excluding communication
55+
that is conspicuously marked or otherwise designated in writing by the copyright
56+
owner as “Not a Contribution.”
57+
58+
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
59+
of whom a Contribution has been received by Licensor and subsequently
60+
incorporated within the Work.
61+
62+
#### 2. Grant of Copyright License
63+
64+
Subject to the terms and conditions of this License, each Contributor hereby
65+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
66+
irrevocable copyright license to reproduce, prepare Derivative Works of,
67+
publicly display, publicly perform, sublicense, and distribute the Work and such
68+
Derivative Works in Source or Object form.
69+
70+
#### 3. Grant of Patent License
71+
72+
Subject to the terms and conditions of this License, each Contributor hereby
73+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
74+
irrevocable (except as stated in this section) patent license to make, have
75+
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
76+
such license applies only to those patent claims licensable by such Contributor
77+
that are necessarily infringed by their Contribution(s) alone or by combination
78+
of their Contribution(s) with the Work to which such Contribution(s) was
79+
submitted. If You institute patent litigation against any entity (including a
80+
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
81+
Contribution incorporated within the Work constitutes direct or contributory
82+
patent infringement, then any patent licenses granted to You under this License
83+
for that Work shall terminate as of the date such litigation is filed.
84+
85+
#### 4. Redistribution
86+
87+
You may reproduce and distribute copies of the Work or Derivative Works thereof
88+
in any medium, with or without modifications, and in Source or Object form,
89+
provided that You meet the following conditions:
90+
91+
- **(a)** You must give any other recipients of the Work or Derivative Works a copy of
92+
this License; and
93+
- **(b)** You must cause any modified files to carry prominent notices stating that You
94+
changed the files; and
95+
- **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
96+
all copyright, patent, trademark, and attribution notices from the Source form
97+
of the Work, excluding those notices that do not pertain to any part of the
98+
Derivative Works; and
99+
- **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
100+
Derivative Works that You distribute must include a readable copy of the
101+
attribution notices contained within such NOTICE file, excluding those notices
102+
that do not pertain to any part of the Derivative Works, in at least one of the
103+
following places: within a NOTICE text file distributed as part of the
104+
Derivative Works; within the Source form or documentation, if provided along
105+
with the Derivative Works; or, within a display generated by the Derivative
106+
Works, if and wherever such third-party notices normally appear. The contents of
107+
the NOTICE file are for informational purposes only and do not modify the
108+
License. You may add Your own attribution notices within Derivative Works that
109+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
110+
provided that such additional attribution notices cannot be construed as
111+
modifying the License.
112+
113+
You may add Your own copyright statement to Your modifications and may provide
114+
additional or different license terms and conditions for use, reproduction, or
115+
distribution of Your modifications, or for any such Derivative Works as a whole,
116+
provided Your use, reproduction, and distribution of the Work otherwise complies
117+
with the conditions stated in this License.
118+
119+
#### 5. Submission of Contributions
120+
121+
Unless You explicitly state otherwise, any Contribution intentionally submitted
122+
for inclusion in the Work by You to the Licensor shall be under the terms and
123+
conditions of this License, without any additional terms or conditions.
124+
Notwithstanding the above, nothing herein shall supersede or modify the terms of
125+
any separate license agreement you may have executed with Licensor regarding
126+
such Contributions.
127+
128+
#### 6. Trademarks
129+
130+
This License does not grant permission to use the trade names, trademarks,
131+
service marks, or product names of the Licensor, except as required for
132+
reasonable and customary use in describing the origin of the Work and
133+
reproducing the content of the NOTICE file.
134+
135+
#### 7. Disclaimer of Warranty
136+
137+
Unless required by applicable law or agreed to in writing, Licensor provides the
138+
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
139+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
140+
including, without limitation, any warranties or conditions of TITLE,
141+
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
142+
solely responsible for determining the appropriateness of using or
143+
redistributing the Work and assume any risks associated with Your exercise of
144+
permissions under this License.
145+
146+
#### 8. Limitation of Liability
147+
148+
In no event and under no legal theory, whether in tort (including negligence),
149+
contract, or otherwise, unless required by applicable law (such as deliberate
150+
and grossly negligent acts) or agreed to in writing, shall any Contributor be
151+
liable to You for damages, including any direct, indirect, special, incidental,
152+
or consequential damages of any character arising as a result of this License or
153+
out of the use or inability to use the Work (including but not limited to
154+
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
155+
any and all other commercial damages or losses), even if such Contributor has
156+
been advised of the possibility of such damages.
157+
158+
#### 9. Accepting Warranty or Additional Liability
159+
160+
While redistributing the Work or Derivative Works thereof, You may choose to
161+
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
162+
other liability obligations and/or rights consistent with this License. However,
163+
in accepting such obligations, You may act only on Your own behalf and on Your
164+
sole responsibility, not on behalf of any other Contributor, and only if You
165+
agree to indemnify, defend, and hold each Contributor harmless for any liability
166+
incurred by, or claims asserted against, such Contributor by reason of your
167+
accepting any such warranty or additional liability.
168+
169+
_END OF TERMS AND CONDITIONS_
170+
171+
### APPENDIX: How to apply the Apache License to your work
172+
173+
To apply the Apache License to your work, attach the following boilerplate
174+
notice, with the fields enclosed by brackets `[]` replaced with your own
175+
identifying information. (Don't include the brackets!) The text should be
176+
enclosed in the appropriate comment syntax for the file format. We also
177+
recommend that a file or class name and description of purpose be included on
178+
the same “printed page” as the copyright notice for easier identification within
179+
third-party archives.
180+
181+
Copyright [yyyy] [name of copyright owner]
182+
183+
Licensed under the Apache License, Version 2.0 (the "License");
184+
you may not use this file except in compliance with the License.
185+
You may obtain a copy of the License at
186+
187+
http://www.apache.org/licenses/LICENSE-2.0
188+
189+
Unless required by applicable law or agreed to in writing, software
190+
distributed under the License is distributed on an "AS IS" BASIS,
191+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
192+
See the License for the specific language governing permissions and
193+
limitations under the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If you use this in an academic work, please cite it as follows:
2828
The core data structure in this library is the `Capt`, which is a search tree used for collision checking.
2929

3030
```rust
31-
use captree::Capt;
31+
use capt::Capt;
3232

3333
// list of points in tree
3434
let points = [[1.0, 1.0], [2.0, 1.0], [3.0, -1.0]];
@@ -47,5 +47,5 @@ assert!(captree.collides(&[1.5, 1.5], 0.01));
4747

4848
## License
4949

50-
This work is licensed to you under the Polyform Non-Commercial License.
50+
This work is licensed to you under the Apache 2.0 license.
5151
For further details, refer to [LICENSE.md](/LICENSE.md).

capt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55
description = "SIMD-accelerated nearest-neighbors for point cloud collision checking"
66
repository = "https://github.com/KavrakiLab/capt"
7-
license = "PolyForm-Noncommercial-1.0.0"
7+
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = [
1010
"robotics",

capt/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
//!
6767
//! ## License
6868
//!
69-
//! This work is licensed to you under the Polyform Non-Commercial License.
69+
//! This work is licensed to you under the Apache 2.0 license.
7070
#![cfg_attr(feature = "simd", feature(portable_simd))]
7171
#![cfg_attr(not(test), no_std)]
7272
#![warn(clippy::pedantic, clippy::cargo, clippy::nursery, missing_docs)]

morton_filter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55
description = "Space-filling curve computations for point cloud filtering"
66
repository = "https://github.com/KavrakiLab/captree-rs"
7-
license = "PolyForm-Noncommercial-1.0.0"
7+
license = "Apache-2.0"
88
readme = "../README.md"
99
keywords = [
1010
"robotics",

0 commit comments

Comments
 (0)