Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SegmentizeGeom ¶
func SegmentizeGeom( geometry geom.T, segmentMaxAngleOrLength float64, segmentizeCoords func(geom.Coord, geom.Coord, float64) []float64, ) (geom.T, error)
SegmentizeGeom returns a modified geom.T having no segment longer than the given maximum segment length. segmentMaxAngleOrLength represents two different things depending on the object, which is about to segmentize as in case of geography it represents maximum segment angle whereas, in case of geometry it represents maximum segment distance. segmentizeCoords represents the function's definition which allows us to segmentize given two-points. We have to specify segmentizeCoords explicitly, as the algorithm for segmentization is significantly different for geometry and geography.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.