An elliptic cone named name, of color color (sides and base outline drawn).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
the frame's name |
||
| real(kind=wp), | intent(in), | optional | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |
function new_elliptic_cone(name, color) result(c) character(len=*), intent(in) :: name !! the frame's name real(wp), intent(in), optional :: color(:) !! [r, g, b] or [r, g, b, a] (0 to 1) type(EllipticCone) :: c c%PolyhedralCone = PolyhedralCone(name, color) c%mode = ior(CONE_SIDES, CONE_BASE_OUTLINE) call elliptic_vertices(c) end function new_elliptic_cone