Versions in this module Expand all Collapse all v0 v0.8.0-rc2 Jun 16, 2023 v0.0.1 May 21, 2020 Changes in this version + const TimeFormatRFC3339 + var ErrMissingFootprint = errors.New("missing footprint") + var ErrMissingSpatialVolume = errors.New("missing spatial volume") + type GeoCircle struct + Center LatLngPoint + RadiusMeter float32 + func GeoCircleFromSCDProto(c *scdpb.Circle) *GeoCircle + func (gc *GeoCircle) CalculateCovering() (s2.CellUnion, error) + func (gc *GeoCircle) ToSCDProto() *scdpb.Circle + type GeoPolygon struct + Vertices []*LatLngPoint + func GeoPolygonFromRIDProto(footprint *ridpb.GeoPolygon) *GeoPolygon + func GeoPolygonFromSCDProto(p *scdpb.Polygon) *GeoPolygon + func (gp *GeoPolygon) CalculateCovering() (s2.CellUnion, error) + func (gp *GeoPolygon) ToRIDProto() *ridpb.GeoPolygon + func (gp *GeoPolygon) ToSCDProto() *scdpb.Polygon + type Geometry interface + CalculateCovering func() (s2.CellUnion, error) + type GeometryFunc func() (s2.CellUnion, error) + func (gf GeometryFunc) CalculateCovering() (s2.CellUnion, error) + type ID string + func (id ID) String() string + type LatLngPoint struct + Lat float64 + Lng float64 + func LatLngPointFromSCDProto(p *scdpb.LatLngPoint) *LatLngPoint + func PointFromRIDProto(pt *ridpb.LatLngPoint) *LatLngPoint + func (pt *LatLngPoint) ToRIDProto() *ridpb.LatLngPoint + func (pt *LatLngPoint) ToSCDProto() *scdpb.LatLngPoint + type Owner string + func (owner Owner) String() string + type Version struct + func VersionFromString(s string) (*Version, error) + func VersionFromTime(t time.Time) *Version + func (v *Version) Empty() bool + func (v *Version) Matches(v2 *Version) bool + func (v *Version) Scan(src interface{}) error + func (v *Version) String() string + func (v *Version) ToTimestamp() time.Time + type Volume3D struct + AltitudeHi *float32 + AltitudeLo *float32 + Footprint Geometry + func Volume3DFromRIDProto(vol3 *ridpb.Volume3D) (*Volume3D, error) + func Volume3DFromSCDProto(vol3 *scdpb.Volume3D) (*Volume3D, error) + func (vol3 *Volume3D) CalculateCovering() (s2.CellUnion, error) + func (vol3 *Volume3D) ToRIDProto() (*ridpb.Volume3D, error) + func (vol3 *Volume3D) ToSCDProto() (*scdpb.Volume3D, error) + type Volume4D struct + EndTime *time.Time + SpatialVolume *Volume3D + StartTime *time.Time + func UnionVolumes4D(volumes ...*Volume4D) (*Volume4D, error) + func Volume4DFromRIDProto(vol4 *ridpb.Volume4D) (*Volume4D, error) + func Volume4DFromSCDProto(vol4 *scdpb.Volume4D) (*Volume4D, error) + func (vol4 *Volume4D) CalculateSpatialCovering() (s2.CellUnion, error) + func (vol4 *Volume4D) ToRIDProto() (*ridpb.Volume4D, error) + func (vol4 *Volume4D) ToSCDProto() (*scdpb.Volume4D, error)