Documentation ¶
Index ¶
- Constants
- type IGeometry
- type JSONLineString
- type JSONPoint
- type JSONPolygon
- type JSONType
- type Point
- type Polygon
- type Polyline
- func (pln Polyline) Geometry() geom.Geometry
- func (pln *Polyline) Len() int
- func (pln *Polyline) Range() rng.Rng
- func (pln *Polyline) Segment(i, j int) *geom.Segment
- func (pln *Polyline) SegmentBounds() []mono.MBR
- func (pln *Polyline) SubCoordinates(rng rng.Rng) geom.Coords
- func (pln *Polyline) SubPolyline(rng rng.Rng) Polyline
Constants ¶
View Source
const ( TypePoint string = "Point" TypeLineString string = "LineString" TypePolygon string = "Polygon" TypeMultiPoint string = "MultiPoint" TypeMultiLineString string = "MultiLineString" TypeMultiPolygon string = "MultiPolygon" TypeFeature string = "Feature" TypeFeatureCollection string = "FeatureCollection" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGeometry ¶ added in v0.0.6
func ReadInputConstraints ¶ added in v0.0.3
type JSONLineString ¶ added in v0.0.3
type JSONPolygon ¶ added in v0.0.3
type Point ¶
func CreatePoint ¶ added in v0.0.2
CreatePoint constructs a new point
type Polygon ¶
func CreatePolygon ¶ added in v0.0.2
CreatePolygon creates a new Polygon
type Polyline ¶
type Polyline struct { G *geom.LineString Id string Meta string }
Polyline Type
func CreatePolyline ¶
CreatePolyline construct new polyline
func ReadInputPolylines ¶ added in v0.0.3
func (*Polyline) SegmentBounds ¶
SegmentBounds computes segment bounds
func (*Polyline) SubCoordinates ¶
SubCoordinates - generates sub polyline from generator indices
Click to show internal directories.
Click to hide internal directories.