Documentation
¶
Index ¶
- func GetBezierPoints(dots []map[string]float64, amount int) []map[string]float64
- func GetInsideDots(dots1 map[float64]map[string]float64, dots2 map[float64]map[string]float64) []map[string]float64
- func GetIntergers(border1 float64, border2 float64, narrow_range float64, amount float64) []float64
- func GetNearestIntXDots(dots []map[string]float64) map[float64]map[string]float64
- func GetRandomFloat64() (num float64)
- func GetRandomInt(min, max int) (num int)
- func Keep(number float64, amount int) float64
- func MatrixTransform(data []float64, matrix [][]float64) []float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBezierPoints ¶
GetBezierPoints 获取贝塞尔曲线上的所有规定数量的点
func GetInsideDots ¶
func GetInsideDots(dots1 map[float64]map[string]float64, dots2 map[float64]map[string]float64) []map[string]float64
GetInsideDots 获取两组点构成的线,包围区域中间的点
func GetIntergers ¶
GetIntergers 获取两个数之间指定数量的等分点
func GetNearestIntXDots ¶
GetNearestIntXDots 获取一组点中最接近整数x的点
func GetRandomFloat64 ¶ added in v1.5.6
func GetRandomFloat64() (num float64)
GetRandomFloat64 获取随机浮点
func MatrixTransform ¶
MatrixTransform 矩阵变换
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.