Skip to content

Commit 3c53a8c

Browse files
Version 3.0.0
1 parent a7a2386 commit 3c53a8c

3 files changed

Lines changed: 39 additions & 5 deletions

File tree

CHANGELOG.txt

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@
55
# #
66
###########################
77

8+
v3.0.0
9+
------
10+
Release date: 12-03-2025
11+
12+
This release includes only a breacking change with the function get_scale_tf.
13+
The Transform and Ray __call__ method is now recommended in replacement
14+
of the method __getitem__. The method __getitem__ is still here but has a
15+
depracated message
16+
17+
* Improve the __str__ and __repr__ methods in case of multiple vectors, points,
18+
normals or rays
19+
20+
* Replace the Transform and Ray classes method __getitem__ by the method __call__
21+
22+
* Multiple transformations is now possible with the Transform class
23+
- Allow 1-D calculations with several transformations and 1 point, vectors, ...
24+
- Allow 2-D calculations with several transformations and several points, vectors, ...
25+
- Allow diagonal calculations (case 2-D with option diag_calc=True)
26+
27+
* Add sphinx documentation
28+
29+
* Function get_scale_tf takes as input a Vector variable instead of 3 scalars
30+
31+
* Add new option flatten to Tranform __call__ method
32+
- Instead of having a numpy array of Vector objects, the output can be only 1 Vector
33+
object where a flatten operation is made to x, y, z components of all vectors
34+
- Avoid loop operation then reduce the computational time
35+
36+
* Function vec2ang now accepts Vector object with multiple vectors
37+
38+
* Function ang2vec now accepts 1d ndarray theta and phi angles
39+
40+
841
v2.0.2
942
------
1043
Release date: 05-03-2025
@@ -97,7 +130,7 @@ Release date: 10-02-2025
97130

98131
* Add new functions
99132
- ang2vec
100-
- vec2and
133+
- vec2ang
101134

102135
* Add the Disk class
103136
- It can be a disk, a partial disk, an annulus or a partial annulus

geoclide/constante.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from geoclide.mathope import gamma_f32, gamma_f64
55
import math
66

7-
VERSION = '2.0.2'
7+
VERSION = '3.0.0'
88

99
GAMMA2_F32 = gamma_f32(2)
1010
GAMMA3_F32 = gamma_f32(3)

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ requires = ["setuptools>=42"]
44

55
[project]
66
name = "geoclide"
7-
version = "2.0.2"
7+
version = "3.0.0"
88
license = {file = "LICENSE.txt"}
9-
description = "The python package for geometric calculations in the three-dimentional Euclidian space"
9+
description = "A python package for geometric calculations in the three-dimentional Euclidian space"
1010
authors = [
1111
{name = "Mustapha Moulana", email="mm@hygeos.com"}
1212
]
@@ -40,7 +40,8 @@ dependencies = [
4040
]
4141

4242
[project.urls]
43-
source = "https://github.com/hygeos/geoclide"
43+
Homepage = "https://hygeos.github.io/geoclide/"
44+
Source = "https://github.com/hygeos/geoclide"
4445

4546
[tool.setuptools]
4647
packages = ["geoclide"]

0 commit comments

Comments
 (0)