concealer

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcealLapStartAndEndPosition added in v0.1.2

func ConcealLapStartAndEndPosition(fit *proto.Fit)

ConcealLapStartAndEndPosition removes StartPositionLat, StartPositionLong, EndPositionLat and EndPositionLong from any lap messages.

func ConcealPosition

func ConcealPosition(fit *proto.Fit, startDistance, endDistance uint32) error

ConcealPosition removes coordinates (lat, long) as far as start distance and end distance from the given fit file. If startDistance and endDistance == 0, it will not do anything, nil will be returned.

func ConcealPositionEnd

func ConcealPositionEnd(fit *proto.Fit, concealDistance uint32) error

ConcealPositionEnd removes coordinates (lat, long) as far as end distance from the given fit file. If concealDistance == 0, it will not do anything, nil will be returned.

func ConcealPositionStart

func ConcealPositionStart(fit *proto.Fit, concealDistance uint32) error

ConcealPositionStart removes coordinates (lat, long) as far as start distance from the given fit file. If concealDistance == 0, it will not do anything, nil will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL