Skip to content

Commit

Permalink
Update environment
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jan 22, 2024
1 parent 30b4131 commit 7e29ffd
Show file tree
Hide file tree
Showing 6 changed files with 386 additions and 282 deletions.
10 changes: 0 additions & 10 deletions 01-geodata.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -380,16 +380,6 @@ grid[1]

:::

::: {.callout-note}

Geometries in a `domain` can be accessed with a single index
`domain[ind]` or with a collection of indices `domain[inds]`.
Even though it is tempting to use `domain[i,j]` and `domain[i,j,k]`
in the case of 2D and 3D `CartesianGrid`, this syntax is not supported.
Many domains do **not** have `GridTopology`.

:::

In computational geometry, a `CartesianGrid` is a specific
type of [mesh](https://en.wikipedia.org/wiki/Polygon_mesh).
It can only represent "flat" domains sampled regularly along
Expand Down
2 changes: 1 addition & 1 deletion 07-pipelines.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ geotable = georef(table, rand(2, 4))
```

```{julia}
pipeline = Select("a") → Center()
pipeline = Center()
```

We saw that our pipelines can be evaluated with Julia's pipe operator:
Expand Down
2 changes: 1 addition & 1 deletion 09-geojoins.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ with the Meshes.jl module. For example, it is sometimes convenient to define geo
predicates in terms of a distance and a threshold:

```julia
pred(g1, g2) = distance(g1, g2) 1u"m"`
pred(g1, g2) = evaluate(Euclidean(), centroid(g1), centroid(g2)) 1u"m"`
```

| PREDICATE | EXAMPLE |
Expand Down
Loading

0 comments on commit 7e29ffd

Please sign in to comment.