Documentation ¶
Index ¶
- Variables
- type Angle
- func (d Angle) Abs() Angle
- func (a Angle) Add(a1 Angle) Angle
- func (a Angle) AddScalar(sc float64) Angle
- func (a Angle) AddToSpecificType(a1 Angle, angType angleType.AngleType) Angle
- func (a Angle) AddToSpecificUnit(a1 Angle, angUnit angleUnit.AngleUnit) Angle
- func (a Angle) AngleType() angleType.AngleType
- func (d Angle) Ceil() Angle
- func (a Angle) Denominate(num float64) Angle
- func (a Angle) Div(d float64) Angle
- func (a Angle) DivToSpecificType(d float64, angType angleType.AngleType) Angle
- func (a Angle) DivToSpecificUnit(d float64, angUnit angleUnit.AngleUnit) Angle
- func (a Angle) Equal(a1 Angle) bool
- func (d Angle) Floor() Angle
- func (a Angle) FullRotate() Angle
- func (a Angle) GreaterThanOrEqual(a1 Angle) bool
- func (a Angle) GreatherThan(a1 Angle) bool
- func (a Angle) IsNegative() bool
- func (a Angle) IsPositive() bool
- func (a Angle) IsZero() bool
- func (a Angle) LessThan(a1 Angle) bool
- func (a Angle) LessThanOrEqual(a1 Angle) bool
- func (a Angle) MarshalJSON() ([]byte, error)
- func (a Angle) Mul(d float64) Angle
- func (a Angle) MulToSpecificType(m float64, angType angleType.AngleType) Angle
- func (a Angle) MulToSpecificUnit(m float64, angUnit angleUnit.AngleUnit) Angle
- func (d Angle) Neg() Angle
- func (a Angle) Pow(eks float64) Angle
- func (a *Angle) Scan(val interface{}) error
- func (a Angle) String() string
- func (a Angle) Sub(a1 Angle) Angle
- func (a Angle) SubScalar(sc float64) Angle
- func (a Angle) SubToSpecificType(a1 Angle, angType angleType.AngleType) Angle
- func (a Angle) SubToSpecificUnit(a1 Angle, angUnit angleUnit.AngleUnit) Angle
- func (d Angle) ToDecimal() Angle
- func (a Angle) ToDegree() Angle
- func (a Angle) ToFloat() float64
- func (d Angle) ToMinuteSecond() Angle
- func (d Angle) ToOtherType() Angle
- func (a Angle) ToOtherUnit() Angle
- func (a Angle) ToRadian() Angle
- func (d Angle) ToSpecificType(angType angleType.AngleType) Angle
- func (a Angle) ToSpecificUnit(unit angleUnit.AngleUnit) Angle
- func (a Angle) ToTime() time.Time
- func (a *Angle) UnmarshalJSON(val []byte) error
- func (a *Angle) UnmarshalParam(src string) error
- func (a Angle) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Zero = NewDegreeFromFloat(consts.DecimalZero)
Functions ¶
This section is empty.
Types ¶
type Angle ¶
type Angle struct {
// contains filtered or unexported fields
}
func NewDegreeFromFloat ¶
func NewDegreeFromString ¶
func NewRadianFromFloat ¶
func (Angle) AddToSpecificType ¶
func (Angle) AddToSpecificUnit ¶
func (Angle) Denominate ¶
func (Angle) DivToSpecificType ¶
func (Angle) DivToSpecificUnit ¶
func (Angle) FullRotate ¶
func (Angle) GreaterThanOrEqual ¶
func (Angle) GreatherThan ¶
func (Angle) IsNegative ¶
func (Angle) IsPositive ¶
func (Angle) LessThanOrEqual ¶
func (Angle) MarshalJSON ¶
func (Angle) MulToSpecificType ¶
func (Angle) MulToSpecificUnit ¶
func (Angle) SubToSpecificType ¶
func (Angle) SubToSpecificUnit ¶
func (Angle) ToMinuteSecond ¶
func (Angle) ToOtherType ¶
func (Angle) ToOtherUnit ¶
func (*Angle) UnmarshalJSON ¶
func (*Angle) UnmarshalParam ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.