Documentation
¶
Index ¶
- Variables
- type Handle
- func (h *Handle) Area(g geom.Geometry) (float64, error)
- func (h *Handle) AsBinary(g geom.Geometry) ([]byte, error)
- func (h *Handle) AsText(g geom.Geometry) (string, error)
- func (h *Handle) Boundary(g geom.Geometry) (geom.Geometry, bool, error)
- func (h *Handle) Centroid(g geom.Geometry) (geom.Geometry, error)
- func (h *Handle) Close()
- func (h *Handle) ConvexHull(g geom.Geometry) (geom.Geometry, error)
- func (h *Handle) Dimension(g geom.Geometry) (int, error)
- func (h *Handle) Envelope(g geom.Geometry) (geom.Envelope, bool, error)
- func (h *Handle) EqualsExact(g1, g2 geom.Geometry) (bool, error)
- func (h *Handle) FromBinary(wkb []byte) (geom.Geometry, error)
- func (h *Handle) FromText(wkt string) (geom.Geometry, error)
- func (h *Handle) Intersects(g1, g2 geom.Geometry) (bool, error)
- func (h *Handle) IsEmpty(g geom.Geometry) (bool, error)
- func (h *Handle) IsRing(g geom.Geometry) (bool, error)
- func (h *Handle) IsSimple(g geom.Geometry) (isSimple bool, defined bool, err error)
- func (h *Handle) IsValid(g geom.Geometry) (bool, error)
- func (h *Handle) Length(g geom.Geometry) (float64, error)
- func (h *Handle) Reverse(g geom.Geometry) (geom.Geometry, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var NonEmptyGeometryCollectionNotSupportedError = errors.New("non-empty GeometryCollection not supported")
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
Handle is a handle into the libgeos C library. Handle is not threadsafe. If libgeos needs to be used in a concurrent fashion, then multiple handles can be used.
func (*Handle) Close ¶
func (h *Handle) Close()
Close cleans up memory resources associated with the handle. If Close is not called, then a memory leak will occurr.
Click to show internal directories.
Click to hide internal directories.