Class: Vector

Vector(ra1, dec1, ra2, dec2, options) → {Vector}

new Vector(ra1, dec1, ra2, dec2, options) → {Vector}

Represents an vector. A vector is a graphical overlay connecting 2 sky positions with end or begin arrows on it
Parameters:
Name Type Description
ra1 number Right Ascension (RA) coordinate of the center in degrees.
dec1 number Declination (Dec) coordinate of the center in degrees.
ra2 number Right Ascension (RA) coordinate of the center in degrees.
dec2 number Declination (Dec) coordinate of the center in degrees.
options ShapeOptions Options for configuring the vector. Additional properties:
Properties
Name Type Attributes Default Description
arrow boolean <optional>
false Add an arrow pointing from (ra1, dec1) to (ra2, dec2)
Source:
Returns:
- The vector shape object
Type
Vector