pyrex.generation.RectangularGenerator.get_exit_points¶
-
RectangularGenerator.
get_exit_points
(particle)¶ Get the intersections of the particle path with the ice volume edges.
For the given particle, calculates where its travel path intersects with the edges of the ice volume.
- Parameters
- particleParticle
Particle traveling through the ice.
- Returns
- enter_point, exit_pointndarray
Vector points where the particle’s path intersects with the edges of the ice volume.
See also
pyrex.Particle
Class for storing particle attributes.