iotmaker_platform_coordinate

package module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 1 Imported by: 11

README

iotmaker.platform.coordinate

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Density

type Density struct {
	OriginalValue int
	DensityFactor int
	DensityValue  int
}

func (*Density) Add

func (el *Density) Add(value int)

func (Density) Float

func (el Density) Float() float64

func (Density) Float32

func (el Density) Float32() float32

func (Density) Float64

func (el Density) Float64() float64

func (Density) Int

func (el Density) Int() int

func (*Density) Set

func (el *Density) Set(value float64)

func (*Density) SetDensityFactor

func (el *Density) SetDensityFactor(value interface{})

func (*Density) SetInt

func (el *Density) SetInt(value int)

func (Density) String

func (el Density) String() string

func (*Density) Sub

func (el *Density) Sub(value int)

type IDensity

type IDensity interface {
	Set(value float64)
	SetInt(value int)
	Add(value int)
	Sub(value int)
	SetDensityFactor(value interface{})
	Int() int
	Float64() float64
	Float32() float32
	Float() float64
	String() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL