Skip to content

Commit 065d8a8

Browse files
committed
add linestring faceview example
1 parent f23d3ad commit 065d8a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GeometryBasics.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ x[1] isa Triangle == true
178178
x isa AbstractVector{<: Triangle} == true
179179
# This means we can use it as a mesh:
180180
Mesh(x) # should just work!
181+
Can also be used for Points:
182+
183+
linestring = FaceView(points, LineFace[...])
184+
Polygon(linestring)
181185
```
182186
"""
183187
struct FaceView{

0 commit comments

Comments
 (0)