Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::math::Degrees Class Referencefinal

Degrees implementation of Angle. More...

#include <Degrees.hpp>

Inheritance diagram for fishnet::math::Degrees:
Collaboration diagram for fishnet::math::Degrees:

Public Member Functions

 Degrees (double deg)
 
 Degrees (const Radians &rad)
 
Radians toRadians () const
 
double sin () const
 
double cos () const
 
double tan () const
 
std::string toString () const noexcept
 

Static Public Member Functions

static Degrees asin (double sine)
 
static Degrees acos (double cosine)
 
static Degrees atan (double tangent)
 
static Degrees atan2 (double y, double x)
 

Protected Member Functions

double normalizedAngle (const double newAngle) const
 

Detailed Description

Degrees implementation of Angle.

Constructor & Destructor Documentation

◆ Degrees() [1/2]

fishnet::math::Degrees::Degrees ( double  deg)
explicit

◆ Degrees() [2/2]

fishnet::math::Degrees::Degrees ( const Radians &  rad)
explicit

Member Function Documentation

◆ acos()

Degrees fishnet::math::Degrees::acos ( double  cosine)
static

◆ asin()

Degrees fishnet::math::Degrees::asin ( double  sine)
static

◆ atan()

Degrees fishnet::math::Degrees::atan ( double  tangent)
static

◆ atan2()

Degrees fishnet::math::Degrees::atan2 ( double  y,
double  x 
)
static

◆ cos()

double fishnet::math::Degrees::cos ( ) const

◆ normalizedAngle()

double fishnet::math::Degrees::normalizedAngle ( const double  newAngle) const
protected

◆ sin()

double fishnet::math::Degrees::sin ( ) const

◆ tan()

double fishnet::math::Degrees::tan ( ) const

◆ toRadians()

Radians fishnet::math::Degrees::toRadians ( ) const

◆ toString()

std::string fishnet::math::Degrees::toString ( ) const
noexcept

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