Uses of Class
spice.basic.Vector3
-
Packages that use Vector3 Package Description spice.basic spice.tspice -
-
Uses of Vector3 in spice.basic
Subclasses of Vector3 in spice.basic Modifier and Type Class Description class
EllipsoidPointNearPoint
Class EllipsoidPointNearPoint represents the result of an Ellipsoid-Point near point computation.class
LimbPoint
Class LimbPoint supports limb point computations.class
PositionRecord
Class PositionRecord represents the positions of ephemeris objects relative to other objects; position records carry along with them one-way light time.class
PositionVector
Class PositionVector represents positions of ephemeris objects relative to other objects.class
SubObserverRecord
Class SubObserverRecord supports sub-observer point computations.class
SubSolarRecord
Class SubSolarRecord supports sub-solar point computations.class
SurfacePoint
Class SurfacePoint represents 3-dimensional points located on surfaces of specified bodies.class
TerminatorPoint
Class TerminatorPoint supports terminator point computations.class
VelocityVector
Class VelocityVector represents velocities of ephemeris objects relative to other objects.Fields in spice.basic declared as Vector3 Modifier and Type Field Description private Vector3
PointingAndAVRecord. angvel
private Vector3
RotationAndAV. angvel
private Vector3
AxisAndAngle. axis
private Vector3
FOV. boresight
(package private) Vector3
Ellipse. center
private Vector3
Ray. direction
private Vector3
GFSurfaceInterceptCoordinateSearch. dvec
private Vector3[]
FOV. FOVBounds
private Vector3
EllipsoidLineNearPoint. nearPoint
private Vector3
Plane. normal
private Vector3
GFRayInFOVSearch. rayDir
private Vector3
SurfaceIntercept.FullInputs. rayDir
(package private) Vector3
Ellipse. semiMajorAxis
(package private) Vector3
Ellipse. semiMinorAxis
private Vector3
GFIlluminationAngleSearch. spoint
(package private) Vector3
SurfaceIntercept. surfaceIntercept
private Vector3
IlluminationAngles. surfaceVector
private Vector3
SubObserverRecord. surfaceVector
private Vector3
SubSolarRecord. surfaceVector
(package private) Vector3
SurfaceIntercept. surfaceVector
private Vector3
TerminatorPoint. surfaceVector
private Vector3
LimbPoint. tangentVector
private Vector3
Ray. vertex
Vector3[]
TriangularPlateVertices. vertices
private Vector3
RayEllipsoidIntercept. xpt
private Vector3
RayPlaneIntercept. xpt
private Vector3
EllipsePlaneIntercept. xpt1
private Vector3
EllipsePlaneIntercept. xpt2
Methods in spice.basic that return Vector3 Modifier and Type Method Description Vector3
Vector3. add(Vector3 v2)
Add two 3 dimensional vectors.Vector3
Vector3. cross(Vector3 v2)
Compute the cross product of two 3-dimensional vectors.Vector3
PointingAndAVRecord. getAngularVelocity()
Obtain an angular velocity vector from a PointingAndAVRecord.The vector is available only if pointing was found when the record was created.Vector3
RotationAndAV. getAngularVelocity()
Get the angular velocity from this instance.Vector3
SpiceQuaternion. getAngularVelocity(SpiceQuaternion dq)
Map this SpiceQuaternion and its derivative with respect to time to an angular velocity vector.Vector3
AxisAndAngle. getAxis()
Get the rotation axis from this instance.Vector3
FOV. getBoresight()
Return the boresight vector of the Instrument with which a FOV is associated.Vector3[]
FOV. getBoundary()
Return the boundary vectors of a FOV.Vector3
Ellipse. getCenter()
Retrieve the center from an Ellipse.Vector3
TriangularPlateVertices. getCentroid()
Compute the centroid of a triangular plate.Vector3
Line. getDirection()
Return a direction vector for this Line.Vector3
Ray. getDirection()
Return a direction vector for this Ray..Vector3
RayEllipsoidIntercept. getIntercept()
Fetch the intercept.This method should be called only if the intercept was found, as indicated by the method wasFound().Vector3
RayPlaneIntercept. getIntercept()
Fetch the intercept.This method should be called only if the intercept count is non-zero.Vector3
SurfaceIntercept. getIntercept()
Return the surface intercept.Vector3[]
EllipsePlaneIntercept. getIntercepts()
Fetch the intercepts.This method should be called only if the intercept count is non-zero and finite.Vector3
EllipsoidLineNearPoint. getNearPoint()
Fetch the nearest point on the Ellipsoid to the Line.Vector3
EllipsoidPointNearPoint. getNearPoint()
Fetch the nearest point on the Ellipsoid to the point.Vector3
Line. getNearPoint(Vector3 point)
Find the closest point on this line to a specified point.Vector3
TriangularPlateVertices. getNearPoint(Vector3 point)
Find the nearest point on a triangular plate to a specified point.Vector3
Ellipsoid. getNormal(Vector3 point)
Find the unit outward surface normal at a specified point on this Ellipsoid's surface.Vector3
Plane. getNormal()
Retrieve a normal vector from a Plane.The vector has unit length and points away from the origin.Vector3
SurfacePoint. getNormal()
Compute the unit length outward normal vector at a specified SurfacePoint.static Vector3[]
SurfacePoint. getNormals(SurfacePoint[] srfpts)
Compute the unit length outward normal vectors corresponding to an array of SurfacePoint instances.This method is an analog of the CSPICE method srfnrm_c.private static Vector3[]
SurfacePoint. getNormals(SurfacePoint[] srfpts, boolean check)
static Vector3[]
SurfacePoint. getNormalsUnchecked(SurfacePoint[] srfpts)
Compute the unit length outward normal vectors corresponding to an array of SurfacePoint instances, without checking for consistency of the attributes of the input array elements.Vector3
TriangularPlateVertices. getOutwardNormal()
Compute an outward normal vector of a triangular plate.The vector does not necessarily have unit length.Vector3
Line. getPoint()
Return a point on this Line.Vector3
Plane. getPoint()
Retrieve a point from a Plane.The point closest to the origin is returned.Vector3
Ellipse. getSemiMajorAxis()
Retrieve the semi-major axis from an Ellipse.Vector3
Ellipse. getSemiMinorAxis()
Retrieve the semi-minor axis from an Ellipse.Vector3[]
Plane. getSpanningVectors()
Retrieve two spanning vectors from a plane.Vector3
SubObserverRecord. getSubPoint()
Return the sub-observer point.Vector3
SubSolarRecord. getSubPoint()
Return the sub-solar point.Vector3
IlluminationAngles. getSurfaceVector()
Return the observer to surface point vector.Vector3
SubObserverRecord. getSurfaceVector()
Return the observer to sub-observer point vector.Vector3
SubSolarRecord. getSurfaceVector()
Return the observer to sub-solar point vector.Vector3
SurfaceIntercept. getSurfaceVector()
Return the observer to intercept vector.Vector3
TerminatorPoint. getSurfaceVector()
Return the observer to terminator point vector from a TerminatorPoint instance.This method returns a deep copy.Vector3
LimbPoint. getTangentVector()
Return the observer to limb point vector from a LimbPoint instance.This method returns a deep copy.Vector3
SpiceQuaternion. getVector()
Return the vector (imaginary) portion of this instance.Vector3
Vector6. getVector3(int i)
Regarding this instance as an array of two 3-vectors, return the specified 3-vector.Vector3
Ray. getVertex()
Return the vertex for this Ray..Vector3
Vector3. hat()
Find the unit vector along a double precision 3-dimensional vector.static Vector3
Vector3. lcom(double a, Vector3 v1, double b, Vector3 v2)
Compute a vector linear combination of two double precision, 3-dimensional vectors.static Vector3
Vector3. lcom(double a, Vector3 v1, double b, Vector3 v2, double c, Vector3 v3)
Compute a vector linear combination of three double precision, 3-dimensional vectors.Vector3
Matrix33. mtxv(Vector3 vin)
Multiply a vector on the left by the transpose of this instance.Vector3
Matrix33. mxv(Vector3 vin)
Multiply a Vector3 on the left by this instance.Vector3
Vector3. negate()
Negate a double precision 3-dimensional vector.Vector3
Vector3. perp(Vector3 v2)
Find the component of this vector orthogonal to a given vector.Vector3
Vector3. proj(Vector3 v2)
Find the orthogonal projection of this vector onto a given vector.Vector3
Plane. project(Vector3 v)
Project a vector orthogonally onto a Plane.The projection is the closest point in the plane to the input vector.Vector3
Vector3. rotate(int axisIndex, double angle)
Transform this vector into a basis that is rotated in the counterclockwise sense about a given coordinate axis by a given angle.Units are radians.Vector3
Vector3. rotate(Vector3 axisVector, double angle)
Rotate this vector in the counterclockwise sense about a given vector by a given angle.Units are radians.Vector3
Vector3. scale(double s)
Multiply a Vector3 by a scalar.Vector3
Vector3. sub(Vector3 v2)
Compute the difference between two 3-dimensional, double precision vectors.abstract Vector3
Coordinates. toRectangular()
Convert this Coordinate instance to rectangular coordinates.Vector3
CylindricalCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3
GeodeticCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3
LatitudinalCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3
PlanetographicCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3
RADecCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3
SphericalCoordinates. toRectangular()
Convert this instance to rectangular coordinates.Vector3[]
TriangularPlateVertices. toVectors()
Extract the vertices of a TriangularPlateVertices instance into an array of 3-vectors.Vector3
Vector3. ucross(Vector3 v2)
Return the unitized cross product of this vector and a given vector.static Vector3[]
Ellipse. unpack(double[] elArray)
Unpack a double array into a center and generating vectors.Methods in spice.basic with parameters of type Vector3 Modifier and Type Method Description Vector3
Vector3. add(Vector3 v2)
Add two 3 dimensional vectors.static double
TriangularPlate. area(TriangularPlate[] plates, Vector3[] vertices)
Compute the total area of a collection of triangular plates.static LimbPoint[][]
LimbPoint. create(java.lang.String method, Body target, Time et, ReferenceFrame fixref, AberrationCorrection abcorr, java.lang.String corloc, Body obsrvr, Vector3 refvec, double rolstp, int ncuts, double schstp, double soltol, int maxn)
Create an array of limb points on a specified target body, as seen from a specified observer.static SurfaceIntercept[]
SurfaceIntercept. create(boolean prioritized, Body target, Surface[] surfList, Time t, ReferenceFrame fixref, Vector3[] rayVertices, Vector3[] rayDirections)
Vectorized SurfaceIntercept creation method.static TerminatorPoint[][]
TerminatorPoint. create(java.lang.String method, Body ilusrc, Body target, Time et, ReferenceFrame fixref, AberrationCorrection abcorr, java.lang.String corloc, Body obsrvr, Vector3 refvec, double rolstp, int ncuts, double schstp, double soltol, int maxn)
Create an array of terminator points on a specified target body, as seen from a specified observer.Vector3
Vector3. cross(Vector3 v2)
Compute the cross product of two 3-dimensional vectors.double
Vector3. dist(Vector3 v1)
Return the distance between two three-dimensional vectors.double
Vector3. dot(Vector3 v2)
Compute the dot product of two double precision, 3-dimensional vectors.Ellipse
Ellipsoid. getLimb(Vector3 viewpt)
Find the limb of this Ellipsoid, as seen from a given viewing location.Vector3
Line. getNearPoint(Vector3 point)
Find the closest point on this line to a specified point.Vector3
TriangularPlateVertices. getNearPoint(Vector3 point)
Find the nearest point on a triangular plate to a specified point.Vector3
Ellipsoid. getNormal(Vector3 point)
Find the unit outward surface normal at a specified point on this Ellipsoid's surface.static Matrix33
CylindricalCoordinates. getRecCylJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-cylindrical coordinate transformation at the point specified by a 3-vector.static Matrix33
GeodeticCoordinates. getRecGeoJacobian(Vector3 v, double re, double f)
Return the Jacobian matrix of the rectangular-to-geodetic coordinate transformation at the point specified by a 3-vector and reference spheroid parameters.static Matrix33
LatitudinalCoordinates. getRecLatJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-latitudinal coordinate transformation at the point specified by a 3-vector.static Matrix33
PlanetographicCoordinates. getRecPgrJacobian(Body body, Vector3 v, double re, double f)
Return the Jacobian matrix of the rectangular-to-planetographic coordinate transformation at the point specified by a Body, a 3-vector and reference spheroid parameters.static Matrix33
RADecCoordinates. getRecRADJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-RA/Dec coordinate transformation at the point specified by a 3-vector.static Matrix33
SphericalCoordinates. getRecSphJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-spherical coordinate transformation at the point specified by a 3-vector.private void
IlluminationAngles. Init(java.lang.String method, Body target, Body ilusrc, Time t, ReferenceFrame fixref, AberrationCorrection abcorr, Body observer, Vector3 spoint)
Private helper method that initializes fields for constructors.static Vector3
Vector3. lcom(double a, Vector3 v1, double b, Vector3 v2)
Compute a vector linear combination of two double precision, 3-dimensional vectors.static Vector3
Vector3. lcom(double a, Vector3 v1, double b, Vector3 v2, double c, Vector3 v3)
Compute a vector linear combination of three double precision, 3-dimensional vectors.Vector3
Matrix33. mtxv(Vector3 vin)
Multiply a vector on the left by the transpose of this instance.Vector3
Matrix33. mxv(Vector3 vin)
Multiply a Vector3 on the left by this instance.Vector3
Vector3. perp(Vector3 v2)
Find the component of this vector orthogonal to a given vector.Vector3
Vector3. proj(Vector3 v2)
Find the orthogonal projection of this vector onto a given vector.Vector3
Plane. project(Vector3 v)
Project a vector orthogonally onto a Plane.The projection is the closest point in the plane to the input vector.Vector3
Vector3. rotate(Vector3 axisVector, double angle)
Rotate this vector in the counterclockwise sense about a given vector by a given angle.Units are radians.double
Vector3. sep(Vector3 v2)
Find the separation angle in radians between two double precision, 3-dimensional vectors.This angle is defined as zero if either vector is zero.Vector3
Vector3. sub(Vector3 v2)
Compute the difference between two 3-dimensional, double precision vectors.Vector3
Vector3. ucross(Vector3 v2)
Return the unitized cross product of this vector and a given vector.static double
TriangularPlate. volume(TriangularPlate[] plates, Vector3[] vertices)
Compute the volume of a three-dimensional region bounded by a collection of triangular plates.void
CK. writeType02Segment(Time first, Time last, Instrument inst, ReferenceFrame frame, java.lang.String segid, Time[] startTimes, Time[] stopTimes, SpiceQuaternion[] quats, Vector3[] avvs, double[] rates)
Write a type 2 segment to an CK file.void
CK. writeType03Segment(Time first, Time last, Instrument inst, ReferenceFrame frame, boolean avflag, java.lang.String segid, Time[] timeTags, SpiceQuaternion[] quats, Vector3[] avvs, Time[] startTimes)
Write a type 3 segment to an CK file.Constructors in spice.basic with parameters of type Vector3 Constructor Description AxisAndAngle(Vector3 v, double angle)
Create a rotation axis and angle from a vector and scalar.CylindricalCoordinates(Vector3 v)
Construct a CylindricalCoordinates instance from a 3-vector.Ellipse(Vector3 center, Vector3 gv1, Vector3 gv2)
Create a Ellipse from a center and two generating vectors.The Ellipse is the set of points `x' such thatEllipsoidPointNearPoint(Ellipsoid ellipsoid, Vector3 point)
Construct an EllipsoidPointNearPoint from an Ellipsoid and a specified point.FullInputs(java.lang.String method, Body target, Time time, ReferenceFrame fixRef, AberrationCorrection abcorr, Body observer, ReferenceFrame rayRef, Vector3 rayDir)
GeodeticCoordinates(Vector3 v, double re, double f)
Construct a GeodeticCoordinates instance from a 3-vector and reference spheroid parameters.GFIlluminationAngleSearch(java.lang.String method, java.lang.String angtyp, Body target, Body illmn, ReferenceFrame fixref, AberrationCorrection abcorr, Body observer, Vector3 spoint)
Specify the geometric inputs for an illumination angle search.GFRayInFOVSearch(Instrument inst, Vector3 rayDir, ReferenceFrame rframe, AberrationCorrection abcorr, Body observer)
GFSurfaceInterceptCoordinateSearch(Body target, ReferenceFrame fixref, java.lang.String method, AberrationCorrection abcorr, Body observer, ReferenceFrame dref, Vector3 dvec, java.lang.String coordinateSystem, java.lang.String coordinate)
IlluminationAngles(java.lang.String method, Body target, Body ilusrc, Time t, ReferenceFrame fixref, AberrationCorrection abcorr, Body observer, Vector3 spoint)
Find the illumination angles (phase, solar incidence, and emission) at a specified surface point on a target body, using a specified illumination source; create a record containing the result.The illumination source may be any ephemeris object.IlluminationAngles(java.lang.String method, Body target, Time t, ReferenceFrame fixref, AberrationCorrection abcorr, Body observer, Vector3 spoint)
Find the illumination angles (phase, solar incidence, and emission) at a specified surface point on a target body, using the sun as the illumination source; create a record containing the result.LatitudinalCoordinates(Vector3 v)
Construct a LatitudinalCoordinates instance from a 3-vector.LimbPoint(Vector3 limbPoint, Time targetEpoch, Vector3 tangentVector)
Create a limb point from a surface point, epoch, and observer-to limb point vector.Line(Vector3 point, Vector3 direction)
Create a Line from a point and direction.Matrix33(Vector3 axis, double angle)
Construct a rotation matrix that rotates vectors about a specified axis vector by a specified angle.Matrix33(Vector3 primaryVector, int primaryIndex, Vector3 secondaryVector, int secondaryIndex)
Construct a rotation matrix representing a reference frame defined by primary and secondary vectors.A specified axis of the frame is aligned with the primary vector; another specified axis is aligned with the component of the secondary vector that is orthogonal to the primary vector.Matrix33(Vector3 row0, Vector3 row1, Vector3 row2)
Construct a Matrix33 from a set of three row vectors.Each row is represented by a Vector3.Matrix66(Matrix33 r, Vector3 av)
Create a Matrix66 from a rotation matrix and an angular velocity vector.Plane(Vector3 normal, double constant)
Create a Plane from a normal vector and a constant.The Plane represents a 3-dimensional plane satisfying the plane equationPlane(Vector3 normal, Vector3 point)
Create a Plane from a normal vector and a point.The Plane represents a 3-dimensional plane satisfying the plane equationPlane(Vector3 point, Vector3 span1, Vector3 span2)
Create a Plane from a point and two spanning vectors.The Plane represents a 3-dimensional plane consisting of the set of pointsPlanetographicCoordinates(Body body, Vector3 v, double re, double f)
Construct a PlanetographicCoordinates instance from a Body, a 3-vector, and reference spheroid parameters.PositionRecord(Vector3 v, TDBDuration d)
Assignment constructor.PositionVector(Vector3 v)
Construct a PositionVector from a Vector3 instance.RADecCoordinates(Vector3 v)
Construct a RADecCoordinates instance from a 3-vector.Ray(Vector3 vertex, Vector3 direction)
Create a Ray from a vertex and direction.RotationAndAV(Matrix33 r, Vector3 av)
Create a rotation and angular velocity from a rotation matrix and an angular velocity vector.The vector has units of radians/sec.SphericalCoordinates(Vector3 v)
Construct a SphericalCoordinates instance from a 3-vector.StateRecord(Body target, Time t, ReferenceFrame outref, java.lang.String refloc, AberrationCorrection abcorr, Vector3 obspos, Body obsctr, ReferenceFrame obsref)
Construct aberration-corrected StateRecord from ephemeris data and an observer position vector.This method provides functionality analogous to that of the CSPICE routine spkcpo_c.StateRecord(Vector3 trgpos, Body trgctr, ReferenceFrame trgref, Time t, ReferenceFrame outref, java.lang.String refloc, AberrationCorrection abcorr, Body obsrvr)
Construct aberration-corrected StateRecord from ephemeris data and a target position vector.This method provides functionality analogous to that of the CSPICE routine spkcpt_c.StateVector(Body target, Time t, ReferenceFrame outref, java.lang.String refloc, AberrationCorrection abcorr, Vector3 obspos, Body obsctr, ReferenceFrame obsref)
Construct aberration-corrected StateVector from ephemeris data and an observer position vector.This method provides functionality analogous to that of the CSPICE routine spkcpo_c.StateVector(Vector3 trgpos, Body trgctr, ReferenceFrame trgref, Time t, ReferenceFrame outref, java.lang.String refloc, AberrationCorrection abcorr, Body obsrvr)
Construct aberration-corrected StateVector from ephemeris data and a target position vector.This method provides functionality analogous to that of the CSPICE routine spkcpt_c.StateVector(Vector3 v1, Vector3 v2)
Construct a StateVector from two Vector3 instances.SurfaceIntercept(java.lang.String method, Body target, Time time, ReferenceFrame fixRef, AberrationCorrection abcorr, Body observer, ReferenceFrame rayRef, Vector3 rayDir)
Find a specified surface intercept point; create a SurfaceIntercept instance containing the result.SurfaceInterceptWithDSKInfo(boolean prioritized, Body target, Surface[] surfList, Time t, ReferenceFrame fixref, Vector3 vertex, Vector3 raydir)
Construct a SurfaceInterceptWithDSKInfo instance representing a ray-DSK surface intercept.SurfacePoint(java.lang.String surfspec, Body body, ReferenceFrame fixref, Vector3 point)
Construct a SurfacePoint instance from a 3-vector, a body-fixed, body-centered reference frame, and a surface specification string.A default time is used.This method is appropriate for creating SurfacePoints having ellipsoidal shape specifications.SurfacePoint(java.lang.String surfspec, Body body, Time t, ReferenceFrame fixref, Vector3 point)
Construct a SurfacePoint instance from a 3-vector, a body-fixed, body-centered reference frame, a time, and a surface specification string.See the discussion in the class documentation above for details.TerminatorPoint(Vector3 terminatorPoint, Time targetEpoch, Vector3 surfaceVector)
Create a terminator point from a surface point, epoch, and observer-to terminator point vector.TriangularPlateVertices(Vector3 v1, Vector3 v2, Vector3 v3)
Construct a triangular plate array from three Vector3 objects.Vector3(Vector3 vin)
Copy constructor: create a new Vector3 from another.Vector6(Vector3 v1, Vector3 v2)
Construct a Vector6 from two three-vectors.VelocityVector(Vector3 v)
Construct a VelocityVector from a Vector3 instance. -
Uses of Vector3 in spice.tspice
Fields in spice.tspice declared as Vector3 Modifier and Type Field Description (package private) static Vector3
TestEllipsoidPlaneIntercept. centerIntercept
(package private) static Vector3
TestEllipsoidPlaneIntercept. centerLimb
private static Vector3
TestVector3. e1
private static Vector3
TestVector6. e1
private static Vector3
TestVector3. e2
private static Vector3
TestVector6. e2
private static Vector3
TestVector3. e3
private static Vector3
TestVector6. e3
private static Vector3
TestVector3. null3
private static Vector3
TestVector3. null4
(package private) static Vector3
TestEllipsoidPlaneIntercept. smajorIntercept
(package private) static Vector3
TestEllipsoidPlaneIntercept. smajorLimb
(package private) static Vector3
TestEllipsoidPlaneIntercept. sminorIntercept
(package private) static Vector3
TestEllipsoidPlaneIntercept. sminorLimb
private static Vector3
TestVector3. vec0
private static Vector3
TestVector3. vec1
private static Vector3
TestVector3. vec2
private static Vector3
TestVector3. vec3
private static Vector3
TestVector3. vec4
private static Vector3
TestVector3. vec5
private static Vector3
TestVector3. vec6
private static Vector3
TestVector3. vec7
(package private) static Vector3
TestEllipsoidPlaneIntercept. viewpt
private static Vector3
TestVector3. x3
private static Vector3
TestVector3. x5
(package private) static Vector3
TestEllipsoidPlaneIntercept. z
private static Vector3
TestVector3. z3
private static Vector3
TestVector3. z5
-