WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::Angle Class Reference

This structure sets data for an angle. More...

#include "../include/Angle.h"

Public Member Functions

 Angle ()
int init ()
int set (double rang)
double get ()
double getSin ()
double getCos ()
int print ()

Friends

class Domain
class Gvar

Detailed Description

This structure sets data for an angle.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ Angle()

Angle::Angle ( )

Constructor - Initializes data

References init().

Member Function Documentation

◆ get()

double WXP::Angle::get ( )
inline

Returns angle

◆ getCos()

double WXP::Angle::getCos ( )
inline

Returns cosine of angle

◆ getSin()

double WXP::Angle::getSin ( )
inline

Returns sine of angle

◆ init()

int Angle::init ( )

Initializes the data

References WXP::Const::MISS.

Referenced by Angle().

◆ print()

int Angle::print ( )

Prints the data

◆ set()

int Angle::set ( double rang)

Sets the angle

Parameters
rangThe specified angle

Referenced by WXP::Gvar::initParams(), WXP::Domain::tran(), WXP::Domain::tran(), and WXP::Gvar::tran().


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