Rotated EllipseΒΆ
Learning targets
Define an ellipse and rotate it
The Ellipse definition in layout.jcm produces an ellipse with semi-major-axis lengths as specified in RadiusX and RadiusY. As default, the major axis are aligned in
-directions. We rotate the ellipse by
by setting the angle parameter Alpha.
.jcm Input File
layout.jcm [ASCII]
1Layout2D { 2 UnitOfLength = 1 3 Objects { 4 Parallelogram { 5 Name = "ComputationalDomain" 6 Width = 4 7 Height = 4 8 Priority = -1 9 } 10 11 Ellipse { 12 RadiusX = 2.0 13 RadiusY = 1.0 14 DomainId = 2 15 RotationAngle = 20 16 RefineAll = 2 17 } 18 } 19}