CornerRefinementΒΆ

Type:section
Appearance:optional

Sets maximum mesh sizes near a corner. If set, all corners with angles smaller than MaxAngle will be automatically refined such that the smallest segment has length MaximumSidelength. The Progression factor allows to control the ratio of the lengths of adjacent segments, i.e. Progression = 2.0 in the example below will double the length of every segment receding from the corner.

_images/corner_refinement1.png

Only the acute angles of the polygon are refined by setting MaxAngle to 89 the following code used to generate the above image.

Polygon {
  Points = [0.0 0.0 1.0 0.0 1.1 1.0 0.0 1.0]
  MeshOptions {
    CornerRefinement{
      Point = 3
      MaximumSidelength = .001
      Progression = 2.0
    }
  }
}