Space-ng SDK
Contents:
Guides
Getting Started
SSH Setup for HDK
Configuring GMSL Cameras
Development Workflow
Deployment Workflow
Video Encoding
RTSP Streaming
GStreamer Plugin (sol3src)
Customizing the Development Container
Updating Your Sol3
Concepts
Multi-Stage Dockerfile
Development Container
Sysroots
Sol3 OS
Tutorials
01 Camera Client Tutorial
02 Carrier Board Client Tutorial
03 Multi-Camera Control Tutorial
04 External Trigger Tutorial
05 Auto White Balance Tutorial
Reference
CLI Tools Reference
CMake Presets Reference
GitHub Personal Access Token
Hardware
vcpkg Reference
System Requirements
C++ Classes
C++ Files and Schemas
Space-ng SDK
Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/math/conversions.h Source File
/workspaces/astro/sol3-sdk/cpp/sol3/math/conversions.h Source File
Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/math/conversions.h Source File
Space-ng SDK
sol3-sdk
cpp
sol3
math
conversions.h
Go to the documentation of this file.
1
// Copyright (c) Space-ng, inc. All rights reserved.
2
3
#pragma once
4
#include <cmath>
5
namespace
sol3::math
{
6
10
inline
double
toRadians
(
double
degrees) {
return
degrees * M_PI / 180.0; };
11
15
inline
double
toDegrees
(
double
radians) {
return
radians * 180.0 / M_PI; };
16
17
}
// namespace sol3::math
sol3::math
Definition:
conversions.h:5
sol3::math::toRadians
double toRadians(double degrees)
Definition:
conversions.h:10
sol3::math::toDegrees
double toDegrees(double radians)
Definition:
conversions.h:15
Generated by
1.9.1
Version: 0.6.0