Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Orekit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Pierre
Orekit
Commits
77ca1ae8
Commit
77ca1ae8
authored
5 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Improved javadoc.
parent
21cc5160
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/orekit/geometry/fov/EllipticalFieldOfView.java
+17
-7
17 additions, 7 deletions
...n/java/org/orekit/geometry/fov/EllipticalFieldOfView.java
with
17 additions
and
7 deletions
src/main/java/org/orekit/geometry/fov/EllipticalFieldOfView.java
+
17
−
7
View file @
77ca1ae8
...
...
@@ -67,8 +67,8 @@ import org.orekit.propagation.events.VisibilityTrigger;
* We define an ellipse on the sphere as the locus of points \(P\) such that the sum of
* their angular distance to two foci \(F_+\) and \(F_-\) is constant, all points being on
* the sphere. The relationship between the foci and the two half aperture angles \(\lambda\)
* and \(\mu\)
are
:
* \[F_\pm\left(\begin{gather*}
* and \(\mu\)
with
:
* \[
\lambda \ge \mu \Rightarrow
F_\pm\left(\begin{gather*}
* \pm\sin\delta\\
* 0\\
* \cos\delta
...
...
@@ -77,6 +77,16 @@ import org.orekit.propagation.events.VisibilityTrigger;
* \cos\delta = \frac{\cos\lambda}{\cos\mu}\]
* </p>
* <p>
* and
* \[\mu \ge \lambda \Rightarrow F_\pm\left(\begin{gather*}
* 0\\
* \pm\sin\delta\\
* \cos\delta
* \end{gather*}\right)
* \quad\text{with}\quad
* \cos\delta = \frac{\cos\mu}{\cos\lambda}\]
* </p>
* <p>
* It can be shown that the previous definition is equivalent to define first a regular
* planar ellipse drawn on a plane \(z = z_0\) (\(z_0\) being an arbitrary strictly positive
* number, \(z_0=1\) being the simplest choice) with semi major axis \(a=z_0\tan\lambda\)
...
...
@@ -135,13 +145,13 @@ public class EllipticalFieldOfView extends SmoothFieldOfView {
/** Second focus. */
private
final
Vector3D
focus2
;
/** Cross product of foci
i
. */
/** Cross product of foci. */
private
final
Vector3D
crossF1F2
;
/** Dot product of foci
i
. */
/** Dot product of foci. */
private
final
double
dotF1F2
;
/** Half angle between foci
i
. */
/** Half angle between foci. */
private
final
double
gamma
;
/** Scaling factor for normalizing ellipse points. */
...
...
@@ -359,7 +369,7 @@ public class EllipticalFieldOfView extends SmoothFieldOfView {
return
new
Vector3D
(
dEll
.
getX
(),
getX
(),
dEll
.
getY
(),
getY
(),
dEll
.
getZ
(),
getZ
());
}
/** Get a direction from distances to foci
i
.
/** Get a direction from distances to foci.
* <p>
* if {@code d1} + {@code d2} = 2 max({@link #getHalfApertureAlongX()}, {@link #getHalfApertureAlongY()}),
* then the point is on the ellipse boundary
...
...
@@ -378,7 +388,7 @@ public class EllipticalFieldOfView extends SmoothFieldOfView {
return
new
Vector3D
(
a1
,
focus1
,
a2
,
focus2
,
FastMath
.
copySign
(
ac
,
sign
),
crossF1F2
);
}
/** Get a direction from distances to foci
i
.
/** Get a direction from distances to foci.
* <p>
* if {@code d1} + {@code d2} = 2 max({@link #getHalfApertureAlongX()}, {@link #getHalfApertureAlongY()}),
* then the point is on the ellipse boundary
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment