Documentation ¶
Overview ¶
Package geo contains interfaces of simple geometry objects, and their creation methods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiLine ¶
type MultiLine interface { // Line returns line with specified index Line(int) MultiPoint // Len returns count of lines Len() int }
MultiLine presents interface of multi line
func NewMultiLine ¶
func NewMultiLine(lines []MultiPoint) MultiLine
NewMultiLine returns new multi line
type MultiPoint ¶
type MultiPoint interface { // Point returns point with specified index Point(int) Point // Len returns count of points Len() int }
MultiPoint presents interface of multi point
func NewMultiPoint ¶
func NewMultiPoint(points []Point) MultiPoint
NewMultiPoint returns new multi point
type MultiPolygon ¶
type MultiPolygon interface { // Polygon returns polygon with specified index Polygon(int) Polygon // Len returns count of polygons Len() int }
MultiPolygon presents interface of multi polygon
func NewMultiPolygon ¶
func NewMultiPolygon(pols []Polygon) MultiPolygon
NewMultiPolygon returns new multi polygon
type Point ¶
type Point interface { // X returns value of X dimension X() float64 // Y returns value of X dimension Y() float64 // Z returns value of X dimension Z() float64 // M returns value of X dimension M() float64 }
Point presents interface of point
func NewPointZM ¶
NewPointZM returns new 4 dimensions point
type Polygon ¶
type Polygon interface { // Ring returns ring with specified index Ring(int) MultiPoint // Len returns count of rings Len() int }
Polygon presents interface of polygon
Click to show internal directories.
Click to hide internal directories.