Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Infinity is the largest possible float64 value Infinity float64 = math.Inf(1) // AlmostZero is a value that is so small as to be almost zero AlmostZero float64 = 1e-8 )
Functions ¶
func DegreesToRadians ¶
DegreesToRadians converts an angle in degrees to radians
func IsExecOwner ¶ added in v0.3.6
IsExecOwner checks the file mode to see if it is executable by owner
Types ¶
type Interval ¶
Interval defines a range between Min and Max inclusive
func CombineIntervals ¶
CombineIntervals creates a new interval that is the union of the two given. If there is a gap between the intervals, that is included in the returned interval.
func (Interval) Add ¶
Add returns a new interval that is increased with given value. The returned inteval has same size as original
Click to show internal directories.
Click to hide internal directories.