package stars
- Alphabetic
- Public
- Protected
Type Members
- 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. - 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.) - 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
andy
, 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 withStarCoords
of (0.0,0.0) appears at the exact center of the map. - class StarMap extends AnyRef
Each object of type
StarMap
represents a specific perspective of a night sky.
Value Members
- object StarCoords
The singleton object
StarCoords
provides some constants and convenience methods for use alongside theStarCoords
class.