Documentation
¶
Index ¶
- func BoundsGeom(xmin, xmax, ymin, ymax float64) (*geos.Geom, error)
- func BoundsWKT(xmin, xmax, ymin, ymax float64) string
- func CenterFromGeometry(g *geos.Geom) []float64
- func Circle(origin []float64, radius float64, numPoints int) ([][]float64, error)
- func CircleGeom(origin []float64, radius float64, numPoints int) (*geos.Geom, error)
- func CircleWKT(origin []float64, radius float64, numPoints int) (string, error)
- func DrawCoordLine(gc draw2d.GraphicContext, lineCoords [][]float64, lineWidth float64, ...) error
- func DrawDot(gc *draw2dimg.GraphicContext, radius, x, y float64) error
- func DrawLine(gc draw2d.GraphicContext, g *geos.Geom, lineWidth float64, ...) error
- func DrawPoint(gc draw2d.GraphicContext, g *geos.Geom, radius float64, fillColor color.Color, ...) error
- func DrawPolygon(gc draw2d.GraphicContext, g *geos.Geom, fillColor color.Color, ...) error
- func DrawRune(gc *draw2dimg.GraphicContext, pos []float64, f font.Face, rotation float64, ...) error
- func DrawString(gc *draw2dimg.GraphicContext, pos []float64, rotation float64, text string) error
- func GetGeometryCenter(g *geos.Geom, scale func(x, y float64) (float64, float64)) ([]float64, error)
- func GetOrd(cs *geos.CoordSeq, fn func(*geos.CoordSeq, int) float64) func(int) float64
- func GetPoints(list ...*geos.Geom) *[][]float64
- func ScaleLine(g *geos.Geom, scale func(x, y float64) (float64, float64)) (*geos.Geom, error)
- func SimplifyGeom(g *geos.Geom, lvl float64) *geos.Geom
- func ToLineString(g *geos.Geom) (*geos.Geom, error)
- func ToPolygon(g *geos.Geom) (*geos.Geom, error)
- type Envelope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CenterFromGeometry ¶
func CircleGeom ¶
func DrawCoordLine ¶
func DrawPolygon ¶
func DrawString ¶
func GetGeometryCenter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.