Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition of ux, uy #270

Closed
Lepinja666 opened this issue Apr 22, 2023 · 2 comments
Closed

Definition of ux, uy #270

Lepinja666 opened this issue Apr 22, 2023 · 2 comments

Comments

@Lepinja666
Copy link

Lepinja666 commented Apr 22, 2023

Hi, this might not belong here, but I can't seem to find a straight answer elsewhere:
What exactly are ux and uy in the edge Dataframe?

@Lepinja666 Lepinja666 changed the title Definitions of ux, uy and fx, fy Definition of ux, uy Apr 23, 2023
@btbest
Copy link
Contributor

btbest commented Apr 23, 2023

See update_ucoords in base_geometry.py.

dcoords are a vector pointing from the edge's source vertex to its target vertex. ucoords are the same coordinates, normalised by the edge's length, i.e. a unit vector aligned with the edge.

@Lepinja666
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants