# README
geom
地理位置
- 支持地理位置运算
例子
x := PtInt8(1, 0)
y := PtInt8(1, 4)
z := x.Add(y)
fmt.Println(z)
Output:
(2,4)
# Functions
HelixRectRangeFromCenterAndMargin 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
HelixRectRangeFromCenterAndMarginInt 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
HelixRectRangeFromCenterAndMarginInt16 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
HelixRectRangeFromCenterAndMarginInt32 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
HelixRectRangeFromCenterAndMarginInt64 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
HelixRectRangeFromCenterAndMarginInt8 由center节点逆时针螺旋由内向外访问margin区域内的所有节点 25 24 23 22 21 10 9 8 7 20 11 2 1 6 19 12 3 4 5 18 13 14 15 16 17.
Pt return shorthand for Point[T].{X, Y}.
PtInt is shorthand for PointInt.{X, Y}.
PtInt16 is shorthand for PointInt16.{X, Y}.
PtInt32 is shorthand for PointInt32.{X, Y}.
PtInt64 is shorthand for PointInt64.{X, Y}.
PtInt8 is shorthand for PointInt8.{X, Y}.
Rect is shorthand for RectangleInt{Pt(x0, y0), Pt(x1, y1)}.
RectFromCenterSize constructs a rectangle with the given center and size.
RectInt is shorthand for RectangleInt{Pt(x0, y0), Pt(x1, y1)}.
RectInt16 is shorthand for RectangleInt16{Pt(x0, y0), Pt(x1, y1)}.
RectInt16FromCenterSize constructs a rectangle with the given center and size.
RectInt32 is shorthand for RectangleInt32{Pt(x0, y0), Pt(x1, y1)}.
RectInt32FromCenterSize constructs a rectangle with the given center and size.
RectInt64 is shorthand for RectangleInt64{Pt(x0, y0), Pt(x1, y1)}.
RectInt64FromCenterSize constructs a rectangle with the given center and size.
RectInt8 is shorthand for RectangleInt8{Pt(x0, y0), Pt(x1, y1)}.
RectInt8FromCenterSize constructs a rectangle with the given center and size.
RectIntFromCenterSize constructs a rectangle with the given center and size.
# Variables
ZPInt is the zero PointInt.
ZPInt16 is the zero PointInt16.
ZPInt32 is the zero PointInt32.
ZPInt64 is the zero PointInt64.
ZPInt8 is the zero PointInt8.
ZRInt is the zero RectangleInt.
ZRInt16 is the zero RectangleInt16.
ZRInt32 is the zero RectangleInt32.
ZRInt64 is the zero RectangleInt64.
ZRInt8 is the zero RectangleInt8.
# Structs
No description provided by the author
PointInt point wrapper.
PointInt16 point wrapper.
PointInt32 point wrapper.
PointInt64 point wrapper.
PointInt8 point wrapper.
Rectangle wrapper, contain two Point[T].
RectangleInt rectangle wrapper, contain two point.
RectangleInt16 rectangle wrapper, contain two point.
RectangleInt32 rectangle wrapper, contain two point.
RectangleInt64 rectangle wrapper, contain two point.
RectangleInt8 rectangle wrapper, contain two point.