TerrainBody Interface

public interface TerrainBody

The TerrainBody constructor: TerrainBody(...) makes one (see new_terrain_body for its arguments).

Calls

interface~~terrainbody~~CallsGraph interface~terrainbody TerrainBody proc~new_terrain_body new_terrain_body interface~terrainbody->proc~new_terrain_body

Module Procedures

private function new_terrain_body(name, profile, units_per_meter, color) result(b)

A body named name in Rocky's tiling profile profile (default '': the Earth; 'moon': the Moon), drawn at units_per_meter scene units per meter (default 1e-3), in color color where it has no imagery ([r, g, b] or [r, g, b, a]; default the frame's).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

the frame's name

character(len=*), intent(in), optional :: profile

Rocky's tiling profile (default '')

real(kind=wp), intent(in), optional :: units_per_meter

scene units per meter (default 1e-3)

real(kind=wp), intent(in), optional :: color(:)

[r, g, b] or [r, g, b, a] (0 to 1)

Return Value type(TerrainBody)