mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:20:06 +00:00
Add ticks to linked vectors
This commit is contained in:
parent
cd1547f573
commit
a0701df13f
3 changed files with 120 additions and 9 deletions
|
|
@ -49,13 +49,28 @@ bool AreaContainsPoint(const std::vector<common::Coordinate>& area,
|
|||
units::angle::degrees<double>
|
||||
GetAngle(double lat1, double lon1, double lat2, double lon2);
|
||||
|
||||
/**
|
||||
* Get a coordinate from a polar coordinate offset.
|
||||
*
|
||||
* @param [in] center The center coordinate from which the angle and distance
|
||||
* are given
|
||||
* @param [in] angle The angle at which the destination coordinate lies
|
||||
* @param [in] distance The distance from the center coordinate to the
|
||||
* destination coordinate
|
||||
*
|
||||
* @return offset coordinate
|
||||
*/
|
||||
common::Coordinate GetCoordinate(const common::Coordinate& center,
|
||||
units::angle::degrees<double> angle,
|
||||
units::length::meters<double> distance);
|
||||
|
||||
/**
|
||||
* Get a coordinate from an (i, j) offset.
|
||||
*
|
||||
* @param [in] center The center coordinate from which i and j are offset
|
||||
* @param [in] i The easting offset in meters
|
||||
* @param [in] j The northing offset in meters
|
||||
*
|
||||
*
|
||||
* @return offset coordinate
|
||||
*/
|
||||
common::Coordinate GetCoordinate(const common::Coordinate& center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue