// NewSFPointXY constructs and returns a new SFPoint with longitude and
// latitude components.
NewSFPointXY constructs and returns a new SFPoint with longitude and
latitude components.
// NewSFPointXY constructs and returns a new SFPoint with longitude and // latitude components .
func NewSFPointXY(x float64, y float64) SFPoint {
	p, err := geom.NewPoint(geom.XY).SetCoords(geom.Coord{x, y})
	if err != nil {
		panic(err)
	}
	return SFPoint{*p}
}
func NewSFPointXY ( x float64 , y float64 ) SFPoint { p , err := geom . NewPoint ( geom . XY ) . SetCoords ( geom . Coord { x , y } ) if err != nil { panic ( err ) } return SFPoint { * p } }
NewSFPointXY constructs and returns a new SFPoint with longitude and
latitude components.
NewSFPointXY constructs and returns a new SFPoint with longitude and latitude components .