public class DivertedSingularityAiming extends Object implements TileAiming
This class is mainly useful for sampling
a zone on ground when the grid directions is not really important
and when the zone contains the pole, which is a singular point for both
ConstantAzimuthAiming
and AlongTrackAiming
.
AlongTrackAiming
,
ConstantAzimuthAiming
Constructor and Description |
---|
DivertedSingularityAiming(SphericalPolygonsSet forbiddenZone)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
alongTileDirection(Vector3D point,
GeodeticPoint gp)
Find the along tile direction for tessellation at specified point.
|
List<GeodeticPoint> |
getSingularPoints()
Get points at which aiming direction cannot be computed.
|
public DivertedSingularityAiming(SphericalPolygonsSet forbiddenZone)
forbiddenZone
- zone out of which singulariry should be divertedpublic List<GeodeticPoint> getSingularPoints()
As per Brouwer's hairy ball theorem, any vector field on the 2-sphere has at least one zero. This implies that any implementation of this interface has at least one point where the aiming direction cannot be computed. The most typical example is aiming always towards North pole, for which both poles are singular points.
getSingularPoints
in interface TileAiming
public Vector3D alongTileDirection(Vector3D point, GeodeticPoint gp)
alongTileDirection
in interface TileAiming
point
- point on the ellipsoid (Cartesian coordinates)gp
- point on the ellipsoid (geodetic coordinates)Copyright © 2002-2020 CS GROUP. All rights reserved.