Skip to content

FixedPointCoordinate uses slopes to calculate angles, which is imprecise #1329

@DennisOSRM

Description

@DennisOSRM

prefer using vector math and then play with the unit vector (-(y2-y1)/sqrt(y1_y1+y2_y2), (x2-x1)/sqrt(x2_x2+x1_x1))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions