Skip to content

Commit

Permalink
Update Regions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
garykac authored Apr 8, 2018
1 parent 00e803c commit 4a72798
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions wiki/downloadWiki/docs/Regions.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Refining regions

This example will show how to refine a mesh in a specific region. The following code assumes to be run from the Mesh Explorer project, since it uses the {{CircleWithHole}} generator located in {{MeshExplorer.Generators}}:
This example will show how to refine a mesh in a specific region. The following code assumes to be run from the Mesh Explorer project, since it uses the `CircleWithHole` generator located in `MeshExplorer.Generators`:

{code:c#}
```
// Generate the input geometry
var geometry = (new CircleWithHole()).Generate(100, 8, 0);
Expand Down Expand Up @@ -31,6 +31,8 @@ mesh.Behavior.VarArea = true;
mesh.Behavior.MinAngle = 25;
mesh.Refine();
mesh.Smooth();
{code:c#}
```

## Resulting mesh
![](Regions_region.jpg)

![](Regions_region.jpg)

0 comments on commit 4a72798

Please sign in to comment.