Skip to content

computeOffsetOrigin may not have solutions #3

Open
@gistrec

Description

@gistrec

Function computeOffsetOrigin may not have solutions, e.g.:

// 'over' the pole.
SphericalUtil::computeOffsetOrigin(LatLng(80, 0), M_PI * MathUtil::EARTH_RADIUS / 4, 180);

// A distance that doesn't fit on the earth.
SphericalUtil::computeOffsetOrigin(LatLng(80, 0), M_PI  * MathUtil::EARTH_RADIUS / 4, 90);

the function should return the status

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions