Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add lake example #98

Merged
merged 1 commit into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Documentation~/lake-full-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation~/lake-full-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation~/lake-preview-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation~/lake-preview-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Implemented *classic* Delaunay triangulation is based on
Refinement algorithm is based on [Ruppert's algorithm][rupperts][^ruppert.1995] with [Bowyer–Watson algorithm][bowyerwatson][^bowyer.1981] [^watson.1981] point insertion.
The package provides also constrained triangulation (with mesh refinement) which is based on Sloan's algorithm[^sloan.1993].

As an illustrative example, we present the triangulation of Lake Superior with various refinement parameters. The top-left image shows the result without any refinement.

![lake-preview-light](Documentation~/lake-preview-light.png#gh-light-mode-only)
![lake-preview-dark](Documentation~/lake-preview-dark.png#gh-dark-mode-only)

## Table of contents

- [Burst Triangulator](#burst-triangulator)
Expand Down Expand Up @@ -225,6 +230,17 @@ The result *with* mesh refinement:
![guitar-light-dtr](Documentation~/guitar/guitar-light-dtr.svg#gh-light-mode-only)
![guitar-dark-dtr](Documentation~/guitar/guitar-dark-dtr.svg#gh-dark-mode-only)

The refinement process is controlled by two threshold parameters:

- `Area`: denoted as $C_\triangle$
- `Angle`: denoted as $C_\theta$

These parameters allow fine-tuning of the refinement results based on specific criteria.
Below, you can observe a set of results obtained by applying the refinement process to input data from Lake Superior (open image in a new tab to see the details).

![lake-full-light](Documentation~/lake-full-light.png#gh-light-mode-only)
![lake-full-dark](Documentation~/lake-full-dark.png#gh-dark-mode-only)

### Constrained Delaunay triangulation

It is not guaranteed that the boundary of the input will be present in the *classic* Delaunay triangulation result.
Expand Down
Loading