WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
googleearthkml.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX INC 2025. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX INC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX INC.
15******************************************************************************/
16#ifndef UTILS_GOOGLEEARTHKML_H
17#define UTILS_GOOGLEEARTHKML_H
18
19#include <string>
20#include <vector>
21
22namespace warptwin {
23
30 std::string writeTrajectory(const std::vector<double> &lat,
31 const std::vector<double> &lon,
32 const std::vector<double> &alt,
33 bool project_to_ground=true,
34 const std::string &color="7f00ffff");
35
43 void writeKmlFile(const std::string &file,
44 const std::vector<std::vector<double>> &lat,
45 const std::vector<std::vector<double>> &lon,
46 const std::vector<std::vector<double>> &alt,
47 const std::vector<std::string> &colors,
48 bool project_to_ground=true);
49
50}
51
52#endif
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
void writeKmlFile(const std::string &file, const std::vector< std::vector< double > > &lat, const std::vector< std::vector< double > > &lon, const std::vector< std::vector< double > > &alt, const std::vector< std::string > &colors, bool project_to_ground)
Function to write a full KML file from trajectory data.
Definition googleearthkml.cpp:64
std::string writeTrajectory(const std::vector< double > &lat, const std::vector< double > &lon, const std::vector< double > &alt, bool project_to_ground, const std::string &color)
Function to write a trajectory into a KML file.
Definition googleearthkml.cpp:23