public class EllipsoidPoint extends AbstractBodyPoint
EllipsoidBodyShape.
Instance of this class are guaranteed to be immutable.
AbstractBodyPoint,
Serialized FormBodyPoint.BodyPointName| Modifier | Constructor and Description |
|---|---|
|
EllipsoidPoint(EllipsoidBodyShape bodyShape,
LLHCoordinates coordIn,
String name)
Constructor from lat/long/height coordinates.
|
|
EllipsoidPoint(EllipsoidBodyShape bodyShape,
LLHCoordinatesSystem coordSystem,
double latitude,
double longitude,
double height,
String name)
Constructor from lat/long/height coordinates.
|
protected |
EllipsoidPoint(EllipsoidBodyShape bodyShape,
Vector3D position,
boolean onShapeSurface,
String name)
Protected constructor from a position and a flag stating if the point is known to be on the shape: if the latter
is set true, the normal height is set to 0 and the closest and radial projections on the shape are set equal to
this.
|
|
EllipsoidPoint(EllipsoidBodyShape bodyShape,
Vector3D position,
Frame frame,
AbsoluteDate date,
String name)
Constructor from a position expressed in any given frame.
|
|
EllipsoidPoint(EllipsoidBodyShape bodyShape,
Vector3D position,
String name)
Constructor from a position.
|
| Modifier and Type | Method and Description |
|---|---|
protected Vector3D |
computeNormal()
Method to compute normal direction in body frame, to be implemented in each specific child class of
AbstractBodyPoint. |
EllipsoidBodyShape |
getBodyShape()
Get the
BodyShape associated to this body point. |
EllipsoidPoint |
getClosestPointOnShape()
Returns the closest point to this on the shape surface.
|
EllipsoidPoint |
getRadialProjectionOnShape()
Returns the body point, on the associated shape surface, in the radial direction corresponding to the position of
this: if several of them (may happen for not star-convex shapes), the method considers the one farthest to the
body frame origin (having the largest norm).
|
protected void |
setClosestPointOnShape(BodyPoint closestOnShape)
Setter for the entered body point as closest point on shape.
|
computePositionHeightCoordinateSignum, getLLHCoordinates, getName, getNormal, getNormalHeight, getPosition, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitangularSeparation, distance, getLLHCoordinates, getNativeFrame, getNormal, getPVCoordinates, isInsideShape, isOnShapeSurfacepublic EllipsoidPoint(EllipsoidBodyShape bodyShape, LLHCoordinatesSystem coordSystem, double latitude, double longitude, double height, String name)
bodyShape - body shape on which the point is definedcoordSystem - LLH coordinates system in which are expressed the entered lat/long/heightlatitude - input latitudelongitude - input longitudeheight - input heightname - name of the pointpublic EllipsoidPoint(EllipsoidBodyShape bodyShape, LLHCoordinates coordIn, String name)
bodyShape - body shape on which the point is definedcoordIn - lat/long/height coordinates associated with the coordinates system in which they are expressedname - name of the pointpublic EllipsoidPoint(EllipsoidBodyShape bodyShape, Vector3D position, String name)
bodyShape - body shape on which the point is definedposition - point position in body framename - name of the pointpublic EllipsoidPoint(EllipsoidBodyShape bodyShape, Vector3D position, Frame frame, AbsoluteDate date, String name) throws PatriusException
bodyShape - body shape on which the point is definedposition - position in provided frame at provided dateframe - framedate - datename - name of the pointPatriusException - if frame transformation cannot be computed at provided dateprotected EllipsoidPoint(EllipsoidBodyShape bodyShape, Vector3D position, boolean onShapeSurface, String name)
bodyShape - body shape on which the point is definedposition - point position in body frameonShapeSurface - flag to be set to true value if the point is known to be on the shapename - name of the pointpublic EllipsoidBodyShape getBodyShape()
BodyShape associated to this body point.getBodyShape in interface BodyPointgetBodyShape in class AbstractBodyPointBodyShape associated to this body pointpublic EllipsoidPoint getRadialProjectionOnShape()
getRadialProjectionOnShape in interface BodyPointgetRadialProjectionOnShape in class AbstractBodyPointpublic EllipsoidPoint getClosestPointOnShape()
getClosestPointOnShape in interface BodyPointgetClosestPointOnShape in class AbstractBodyPointprotected void setClosestPointOnShape(BodyPoint closestOnShape)
setClosestPointOnShape in class AbstractBodyPointclosestOnShape - body point to be setIllegalArgumentException - if the entered body point is not an EllipsoidPoint instanceprotected final Vector3D computeNormal()
AbstractBodyPoint.
Associated getter AbstractBodyPoint.getNormal() is implemented in this class in order to handle lazy initialization of
this attribute. AbstractBodyPoint.getNormal()).computeNormal in class AbstractBodyPointCopyright © 2025 CNES. All rights reserved.