Stellarium  25.3
Public Member Functions | Data Fields
scm::CoordinateLine Struct Reference

The pair of start and end coordinate. More...

#include <CoordinateLine.hpp>

Public Member Functions

QJsonArray toJson () const
 Converts the ConstellationLine to a JSON array. More...
 

Data Fields

Vec3d start
 The start coordinate of the line.
 
Vec3d end
 The end coordinate of the line.
 

Detailed Description

The pair of start and end coordinate.

Member Function Documentation

◆ toJson()

QJsonArray scm::CoordinateLine::toJson ( ) const
inline

Converts the ConstellationLine to a JSON array.

Returns
QJsonArray The JSON representation of the coordinate line.