CurvedSegment

Type:section
Appearance:multiple

This section allows to replace a linear segment of the parent polygon by a planar curve segment. The defined curve must pass exactly through the start and end points of the replaced linear segment.

Polygon {
  Points = [0 0 1 0 1 1 0 1]
  CurvedSegment {
    Segment = 1
    Spline {
      Degree = 2
      Points = [0 0 0.5 0.25 1 0]
    }
  }
  MeshOptions {
    CurvilinearDegree = 2
  }
}
_images/curved_segment.png

The curved segment replaces the linear segment in the olive domain revealing the original linear bounded teal domain underneath.