points-index.go
func (points *PointsIndex) Remove(id string) {
	if prevPoint, ok := points.currentPosition[id]; ok {
		set := points.index.GetEntryAt(prevPoint).(set)
		set.Remove(prevPoint.Id())
		delete(points.currentPosition, prevPoint.Id())
	}
}
func (points *PointsIndex) Remove(id string) {
	if prevPoint, ok := points.currentPosition[id]; ok {
		set := points.index.GetEntryAt(prevPoint).(set)
		set.Remove(prevPoint.Id())
		delete(points.currentPosition, prevPoint.Id())
	}
}
func ( points * PointsIndex ) Remove ( id string ) { if prevPoint , ok := points . currentPosition [ id ] ; ok { set := points . index . GetEntryAt ( prevPoint ) . ( set ) set . Remove ( prevPoint . Id ( ) ) delete ( points . currentPosition , prevPoint . Id ( ) ) } }
// Remove removes a point from the index.
Remove removes a point from the index .