MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::style::Rotation Class Reference

#include <rotation.hpp>

Public Member Functions

 Rotation ()=default
 
 Rotation (double angle_)
 
constexpr double period () const noexcept
 
double getAngle () const noexcept
 

Friends

bool operator== (const Rotation &lhs, const Rotation &rhs)
 
bool operator!= (const Rotation &lhs, const Rotation &rhs)
 

Detailed Description

Definition at line 9 of file rotation.hpp.

Constructor & Destructor Documentation

◆ Rotation() [1/2]

mbgl::style::Rotation::Rotation ( )
default

◆ Rotation() [2/2]

mbgl::style::Rotation::Rotation ( double  angle_)
inline

Definition at line 12 of file rotation.hpp.

Member Function Documentation

◆ getAngle()

double mbgl::style::Rotation::getAngle ( ) const
inlinenoexcept

Definition at line 14 of file rotation.hpp.

◆ period()

constexpr double mbgl::style::Rotation::period ( ) const
inlineconstexprnoexcept

Definition at line 13 of file rotation.hpp.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const Rotation lhs,
const Rotation rhs 
)
friend

Definition at line 18 of file rotation.hpp.

◆ operator==

bool operator== ( const Rotation lhs,
const Rotation rhs 
)
friend

Definition at line 16 of file rotation.hpp.


The documentation for this class was generated from the following file: