| int CurvedSpaceIntegrator::integrate | ( | double | time, | |
| const pt & | O, | |||
| const pt & | d, | |||
| double | dist = -1, |
|||
| int | maxsteps = 5000 | |||
| ) |
Call the integrate() function to compute line segments along a geodesic path.
| O | Ray origin | |
| d | Ray direction | |
| dist | Maximally allowed distance in coordinate space (not used currently) | |
| maxsteps | The maximal number of step sizes, avoids infinite loops if finite. |
| virtual int CurvedSpaceIntegrator::segment_intersect | ( | const pt & | where, | |
| const pt & | dir, | |||
| double | segment_length | |||
| ) | [pure virtual] |
Core function, which is called for each geodesic segment.
If it returns non-zero, integration is terminated and the return value is forward to the integrate() function.
| void CurvedSpaceIntegrator::setCenter | ( | const pt & | Center | ) | const |
Set the coordinate location of the black hole's center.
1.6.2