@@ -31,7 +31,7 @@ module.exports = {
31
31
z : {
32
32
valType : 'data_array' ,
33
33
description : [
34
- 'Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z`' ,
34
+ 'Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z`' ,
35
35
'jointly represent the X, Y and Z coordinates of the nth vertex.'
36
36
] . join ( ' ' )
37
37
} ,
@@ -42,7 +42,7 @@ module.exports = {
42
42
'A vector of vertex indices, i.e. integer values between 0 and the length of the vertex' ,
43
43
'vectors, representing the *first* vertex of a triangle. For example, `{i[m], j[m], k[m]}`' ,
44
44
'together represent face m (triangle m) in the mesh, where `i[m] = n` points to the triplet' ,
45
- '`{x[n], y[n], z[v ]}` in the vertex arrays. Therefore, each element in `i` represents a' ,
45
+ '`{x[n], y[n], z[n ]}` in the vertex arrays. Therefore, each element in `i` represents a' ,
46
46
'point in space, which is the first vertex of a triangle.'
47
47
] . join ( ' ' )
48
48
} ,
@@ -52,7 +52,7 @@ module.exports = {
52
52
'A vector of vertex indices, i.e. integer values between 0 and the length of the vertex' ,
53
53
'vectors, representing the *second* vertex of a triangle. For example, `{i[m], j[m], k[m]}` ' ,
54
54
'together represent face m (triangle m) in the mesh, where `j[m] = n` points to the triplet' ,
55
- '`{x[n], y[n], z[v ]}` in the vertex arrays. Therefore, each element in `j` represents a' ,
55
+ '`{x[n], y[n], z[n ]}` in the vertex arrays. Therefore, each element in `j` represents a' ,
56
56
'point in space, which is the second vertex of a triangle.'
57
57
] . join ( ' ' )
58
58
@@ -63,7 +63,7 @@ module.exports = {
63
63
'A vector of vertex indices, i.e. integer values between 0 and the length of the vertex' ,
64
64
'vectors, representing the *third* vertex of a triangle. For example, `{i[m], j[m], k[m]}`' ,
65
65
'together represent face m (triangle m) in the mesh, where `k[m] = n` points to the triplet ' ,
66
- '`{x[n], y[n], z[v ]}` in the vertex arrays. Therefore, each element in `k` represents a' ,
66
+ '`{x[n], y[n], z[n ]}` in the vertex arrays. Therefore, each element in `k` represents a' ,
67
67
'point in space, which is the third vertex of a triangle.'
68
68
] . join ( ' ' )
69
69
@@ -91,24 +91,20 @@ module.exports = {
91
91
'vertices (points) represented by the `x`, `y` and `z` arrays, if' ,
92
92
'the `i`, `j`, `k` arrays are not supplied.' ,
93
93
'For general use of `mesh3d` it is preferred that `i`, `j`, `k` are' ,
94
- 'supplied, because calculating the surface from points can be very' ,
95
- 'time consuming and usually lead to artifacts.' ,
94
+ 'supplied.' ,
96
95
97
96
'If *-1*, Delaunay triangulation is used, which is mainly suitable if the' ,
98
97
'mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`.' ,
99
98
'In case the `delaunayaxis` intersects the mesh surface at more than one point' ,
100
- '(e.g. sphere, cube, potato, animal, donut etc. shapes) it will lead to triangles' ,
101
- 'that are very long in the dimension of `delaunayaxis`.' ,
99
+ 'it will result triangles that are very long in the dimension of `delaunayaxis`.' ,
102
100
103
- 'If *>0*, the alpha-shape algorithm is used. In this case, the `alphahull` value' ,
104
- 'not only signals the intention to choose the alpha-shape algorithm, but its value' ,
105
- 'acts as the parameter for the mesh fitting. It can take minutes to calculate a large' ,
106
- 'mesh (e.g. over 10 thousand points), and the result is very sensitive to the' ,
107
- 'chosen value. ' ,
101
+ 'If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value' ,
102
+ 'signals the use of the alpha-shape algorithm, _and_ its value' ,
103
+ 'acts as the parameter for the mesh fitting.' ,
108
104
109
105
'If *0*, the convex-hull algorithm is used. It is suitable for convex bodies' ,
110
106
'or if the intention is to enclose the `x`, `y` and `z` point set into a convex' ,
111
- 'hull. However it can not generate concave surfaces. '
107
+ 'hull.'
112
108
] . join ( ' ' )
113
109
} ,
114
110
0 commit comments