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

rotate function for prism objects #1138

Open
oskooi opened this issue Feb 28, 2020 · 0 comments
Open

rotate function for prism objects #1138

oskooi opened this issue Feb 28, 2020 · 0 comments

Comments

@oskooi
Copy link
Collaborator

oskooi commented Feb 28, 2020

It would be useful to add a rotate member function to the Prism object with a single argument theta that is used to rotate all the vertices in a plane perpendicular to axis. This feature should also work with get_GDSII_prisms. A possible test could involve importing a ridge waveguide from a GDS file and verifying that the Poynting flux for its fundamental mode is the same at different rotation angles (similar to what was demonstrated in #1130).

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

No branches or pull requests

1 participant