Skip to content

Commit 14b569b

Browse files
Fix FaceView docstring
typos & missing comment
1 parent 6b36ff6 commit 14b569b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/viewtypes.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ end
103103
end
104104

105105
"""
106-
FaceView{Elemnt, Point, Face, P, F}
106+
FaceView{Element, Point, Face, P, F}
107107
108108
FaceView enables to link one array of points via a face array, to generate one
109109
abstract array of elements.
@@ -114,14 +114,13 @@ x[1] isa Triangle == true
114114
x isa AbstractVector{<: Triangle} == true
115115
# This means we can use it as a mesh:
116116
Mesh(x) # should just work!
117-
Can also be used for Points:
117+
# Can also be used for Points:
118118
119119
linestring = FaceView(points, LineFace[...])
120120
Polygon(linestring)
121121
```
122122
"""
123123
struct FaceView{Element,Point <: AbstractPoint,Face <: AbstractFace,P <: AbstractVector{Point},F <: AbstractVector{Face}} <: AbstractVector{Element}
124-
125124
elements::P
126125
faces::F
127126
end

0 commit comments

Comments
 (0)