Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Data Fields | Protected Attributes
Zend_Measure_Angle Class Reference
Inheritance diagram for Zend_Measure_Angle:
Zend_Measure_Abstract

Data Fields

const STANDARD = 'RADIAN'
 
const RADIAN = 'RADIAN'
 
const MIL = 'MIL'
 
const GRAD = 'GRAD'
 
const DEGREE = 'DEGREE'
 
const MINUTE = 'MINUTE'
 
const SECOND = 'SECOND'
 
const POINT = 'POINT'
 
const CIRCLE_16 = 'CIRCLE_16'
 
const CIRCLE_10 = 'CIRCLE_10'
 
const CIRCLE_8 = 'CIRCLE_8'
 
const CIRCLE_6 = 'CIRCLE_6'
 
const CIRCLE_4 = 'CIRCLE_4'
 
const CIRCLE_2 = 'CIRCLE_2'
 
const FULL_CIRCLE = 'FULL_CIRCLE'
 

Protected Attributes

 $_units
 
- Protected Attributes inherited from Zend_Measure_Abstract
 $_value
 
 $_type
 
 $_locale = null
 
 $_units = array()
 

Additional Inherited Members

- Public Member Functions inherited from Zend_Measure_Abstract
 __construct ($value, $type=null, $locale=null)
 
 getLocale ()
 
 setLocale ($locale=null, $check=false)
 
 getValue ($round=-1, $locale=null)
 
 setValue ($value, $type=null, $locale=null)
 
 getType ()
 
 setType ($type)
 
 equals ($object)
 
 toString ($round=-1, $locale=null)
 
 __toString ()
 
 getConversionList ()
 
 convertTo ($type, $round=2, $locale=null)
 
 add ($object)
 
 sub ($object)
 
 compare ($object)
 

Detailed Description

Definition at line 37 of file Angle.php.

Field Documentation

◆ $_units

$_units
protected
Initial value:
= array(
'RADIAN' => array('1','rad'),
'MIL' => array(array('' => M_PI,'/' => '3200'), 'mil'),
'GRAD' => array(array('' => M_PI,'/' => '200'), 'gr'),
'DEGREE' => array(array('' => M_PI,'/' => '180'), '°'),
'MINUTE' => array(array('' => M_PI,'/' => '10800'), "'"),
'SECOND' => array(array('' => M_PI,'/' => '648000'), '"'),
'POINT' => array(array('' => M_PI,'/' => '16'), 'pt'),
'CIRCLE_16' => array(array('' => M_PI,'/' => '8'), 'per 16 circle'),
'CIRCLE_10' => array(array('' => M_PI,'/' => '5'), 'per 10 circle'),
'CIRCLE_8' => array(array('' => M_PI,'/' => '4'), 'per 8 circle'),
'CIRCLE_6' => array(array('' => M_PI,'/' => '3'), 'per 6 circle'),
'CIRCLE_4' => array(array('' => M_PI,'/' => '2'), 'per 4 circle'),
'CIRCLE_2' => array(M_PI, 'per 2 circle'),
'FULL_CIRCLE' => array(array('' => M_PI,'*' => '2'), 'cir'),
'STANDARD' => 'RADIAN'
)

Definition at line 61 of file Angle.php.

◆ CIRCLE_10

const CIRCLE_10 = 'CIRCLE_10'

Definition at line 49 of file Angle.php.

◆ CIRCLE_16

const CIRCLE_16 = 'CIRCLE_16'

Definition at line 48 of file Angle.php.

◆ CIRCLE_2

const CIRCLE_2 = 'CIRCLE_2'

Definition at line 53 of file Angle.php.

◆ CIRCLE_4

const CIRCLE_4 = 'CIRCLE_4'

Definition at line 52 of file Angle.php.

◆ CIRCLE_6

const CIRCLE_6 = 'CIRCLE_6'

Definition at line 51 of file Angle.php.

◆ CIRCLE_8

const CIRCLE_8 = 'CIRCLE_8'

Definition at line 50 of file Angle.php.

◆ DEGREE

const DEGREE = 'DEGREE'

Definition at line 44 of file Angle.php.

◆ FULL_CIRCLE

const FULL_CIRCLE = 'FULL_CIRCLE'

Definition at line 54 of file Angle.php.

◆ GRAD

const GRAD = 'GRAD'

Definition at line 43 of file Angle.php.

◆ MIL

const MIL = 'MIL'

Definition at line 42 of file Angle.php.

◆ MINUTE

const MINUTE = 'MINUTE'

Definition at line 45 of file Angle.php.

◆ POINT

const POINT = 'POINT'

Definition at line 47 of file Angle.php.

◆ RADIAN

const RADIAN = 'RADIAN'

Definition at line 41 of file Angle.php.

◆ SECOND

const SECOND = 'SECOND'

Definition at line 46 of file Angle.php.

◆ STANDARD

const STANDARD = 'RADIAN'

Definition at line 39 of file Angle.php.


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