85
85
86
86
def circle (t : np .ndarray ):
87
87
"""
88
- :arg t: the parametrization, runs from :math:`[0, 1) `.
88
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
89
89
:return: an array of shape ``(2, t.size)``.
90
90
"""
91
91
return ellipse (1.0 , t )
92
92
93
93
94
94
def ellipse (aspect_ratio : float , t : np .ndarray ):
95
95
"""
96
- :arg t: the parametrization, runs from :math:`[0, 1) `.
96
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
97
97
:return: an array of shape ``(2, t.size)``.
98
98
"""
99
99
@@ -107,7 +107,7 @@ def ellipse(aspect_ratio: float, t: np.ndarray):
107
107
108
108
def cloverleaf (t : np .ndarray ):
109
109
"""
110
- :arg t: the parametrization, runs from :math:`[0, 1) `.
110
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
111
111
:return: an array of shape ``(2, t.size)``.
112
112
"""
113
113
@@ -125,7 +125,7 @@ def cloverleaf(t: np.ndarray):
125
125
126
126
def drop (t : np .ndarray ):
127
127
"""
128
- :arg t: the parametrization, runs from :math:`[0, 1) `.
128
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
129
129
:return: an array of shape ``(2, t.size)``.
130
130
"""
131
131
@@ -140,7 +140,7 @@ def drop(t: np.ndarray):
140
140
141
141
def n_gon (n_corners , t ):
142
142
"""
143
- :arg t: the parametrization, runs from :math:`[0, 1) `.
143
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
144
144
:return: an array of shape ``(2, t.size)``.
145
145
"""
146
146
@@ -168,7 +168,7 @@ def n_gon(n_corners, t):
168
168
169
169
def qbx_peanut (t : np .ndarray ):
170
170
"""
171
- :arg t: the parametrization, runs from :math:`[0, 1) `.
171
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
172
172
:return: an array of shape ``(2, t.size)``.
173
173
"""
174
174
ilength = 2 * np .pi
@@ -184,7 +184,7 @@ def apple(a: float, t: np.ndarray):
184
184
"""
185
185
:arg a: roundness parameter in :math:`[0, 1/2]`, where :math:`0` gives
186
186
a circle and :math:`1/2` gives a cardioid.
187
- :arg t: the parametrization, runs from :math:`[0, 1) `.
187
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
188
188
:return: an array of shape ``(2, t.size)``.
189
189
"""
190
190
ilength = 2 * np .pi
@@ -218,7 +218,7 @@ def random(ncoeffs: int, seed: int):
218
218
219
219
def __call__ (self , t : np .ndarray ):
220
220
"""
221
- :arg t: the parametrization, runs from :math:`[0, 1) `.
221
+ :arg t: the parametrization, runs from :math:`[0, 1] `.
222
222
:return: an array of shape ``(2, t.size)``.
223
223
"""
224
224
0 commit comments