IAP GITLAB

Skip to content

Resolve "Geometry and environment feature updates - merge to refactored version"

Closes #367 (closed)

In this merge request I have added the following features:

  1. A Path class in the geometry. This is a collection of points that allows to build a path and calculate the length of the path, while at the same time one can modify the path by adding or removing points. This class is essential for the radio emission and is already used in the radio branch.

  2. A distance_to() method in the Point class in geometry. This method explicitly calculates the length between two points p1 and p2 in the following manner: distance = p1.distance_to(p2)

  3. I have added an Exponential Refractive Index class in the media. For now, it uses only the Z-Coordinate of a point but it is planned to be extended in more general geometries in the future.

All of the above features pass the tests that were added.

Merge request reports