Packages

p

o1

stars

package stars

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package io

Type Members

  1. class Constellation extends AnyRef

    Each Constellation object represents a constellation visible on a star map.

    Each Constellation object represents a constellation visible on a star map. A constellation consists of one or more imaginary "lines" between stars.

  2. class Star extends AnyRef

    Each Star object represents a star on a star map.

    Each Star object represents a star on a star map. It records some basic information (an identifier, a location, and a magnitude); in addition, some but not all stars have been assigned a name. (In reality, many stars have multiple alternative names, but this class does not capture that fact.)

  3. class StarCoords extends AnyRef

    A StarCoords object describes the location of a star on a two-dimensional star map.

    A StarCoords object describes the location of a star on a two-dimensional star map. A location consists of two components, x and y, each of which has a value between -1.0 and +1.0. The x coordinate ranges from -1.0 at the very left of the map to +1.0 on the right; the y coordinate similarly ranges from -1.0 at the bottom to +1.0 at the top. For instance, a star with StarCoords of (0.0,0.0) appears at the exact center of the map.

  4. class StarMap extends AnyRef

    Each object of type StarMap represents a specific perspective of a night sky.

Value Members

  1. object StarCoords

    The singleton object StarCoords provides some constants and convenience methods for use alongside the StarCoords class.

Ungrouped