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

Atomic level feature draft #2784

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

StLeonidas
Copy link

Remove-me-sectionAtomic level feature draft

  • Recovers atomic level structure from ket file
  • exposed to wasm
  • draft works with MolV3000
  • draft works with MolV3000linear peptides

else {
float tan = dy / dx;
float at = atan(tan);
angle = (dx < 0) ? PI / 2 + at : -PI / 2 + at;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be good idea to specify that function finds angle between point and Y axis. also, I believe atan2 is prefered

Copy link
Author

@StLeonidas StLeonidas Feb 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drizhina Yes, thanks. Possibly will refine all rotation to rays not setions as well

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could use float Vec2f::tiltAngle()

@StLeonidas StLeonidas changed the title Atomoc level feature draft Atomic level feature draft Feb 25, 2025
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

Successfully merging this pull request may close these issues.

3 participants