Polyhedron Interface

public interface Polyhedron

The Polyhedron constructor: Polyhedron(...) makes one (see new_polyhedron for its arguments).

Calls

interface~~polyhedron~~CallsGraph interface~polyhedron Polyhedron proc~new_polyhedron new_polyhedron interface~polyhedron->proc~new_polyhedron proc~color~2 ReferenceFrame%color proc~new_polyhedron->proc~color~2

Module Procedures

private function new_polyhedron(name, color) result(p)

A polyhedron named name, of color color (its faces, edges and vertices), with no faces yet (set_faces, set_triangles or set_grid).

Arguments

Type IntentOptional 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)

Return Value type(Polyhedron)