The Cartesian type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Cartesian(Double, Double) |
Creates a unit vector from angular coordinates (RA, Dec).
|
![]() | Cartesian(Cartesian, Boolean) |
Creates a vector from another instance.
|
![]() | Cartesian(Double, Double, Double, Boolean) |
Creates a vector from coordinates (x,y,z).
|
Methods
Name | Description | |
---|---|---|
![]() | Add |
Adds another vector
|
![]() | AngleInArcmin |
Calculates the angle to the specified point on the unit sphere
|
![]() | AngleInDegree |
Calculates the angle to the specified point on the unit sphere
|
![]() | AngleInRadian |
Calculates the angle to the specified point on the unit sphere
|
![]() ![]() | Cartesian2Radec |
Converts a unit vector to (RA, Dec) angles.
|
![]() ![]() | Cartesian2RadecRadian |
Converts a unit vector to (RA, Dec) angles.
|
![]() ![]() | CenterOfMass |
Computes the center of mass of specified vectors.
|
![]() | Cross |
Computes the cross product with another vector
|
![]() | Distance |
Calculates Euclidean distance between two points.
|
![]() | Dot |
Computes the 3D dot product of the two vectors
|
![]() | Equals(Object) |
Determines whether the vector is equal to the specified object.
(Overrides ValueType..::..Equals(Object).) |
![]() | Equals(Cartesian) |
Determines whether the the vector is equal to the specified vector.
|
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() ![]() | FindBoundingSphere |
Computes the near-optimal bounding sphere of a list of points.
|
![]() | Get |
Get the ith component of this vector.
|
![]() | GetHashCode |
Provides hashcode for the vector.
(Overrides ValueType..::..GetHashCode()()()().) |
![]() | GetMiddlePoint |
Returns middle point of two points (this and that)
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() ![]() | GirardArea |
Computes the Girard area.
|
![]() ![]() | IsNaN |
Determines whether the coordinates of the vectors are NaN.
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() ![]() | MinimalEnclosingCircle |
Computes the minimal enclosing circle of a list of points.
|
![]() ![]() | MinimalEnclosingCircleOptimalSlow |
Computes the minimal enclosing circle of a list of points.
|
![]() | Mirror |
Mirrors the vector.
|
![]() | Mirrored |
Returns a mirrored vector.
|
![]() | Normalize |
Normalizes the vector.
|
![]() ![]() | Parse |
Parses an input string of "x y z" into a Cartesian
|
![]() ![]() | Radec2Xyz |
Converts (RA, Dec) to (x, y, z).
|
![]() | Same |
Determines whether two unit vectors are identical.
|
![]() | Scale |
Multiplies the coordinates by the specified amount.
|
![]() | Scaled |
Returns a vector that is scaled by the specified amount.
|
![]() | Set(Double, Double) |
Sets the vector to point from angular position (RA,Dec).
|
![]() | Set(Cartesian, Boolean) |
Sets the vector from another.
|
![]() | Set(Double, Double, Double, Boolean) |
Sets the vector from (x,y,z)
|
![]() | SetMiddlePoint |
Sets the vector to be the sum of the specified points.
|
![]() ![]() | SphericalTriangleArea |
Computes the area of the triangle defined by three points connected with great circles.
|
![]() | Sub |
Subtracts another vector
|
![]() | Tangent |
Returns the tangent vectors pointing to west and north.
|
![]() | ToString |
String representation is the three coordinates: x y z
(Overrides ValueType..::..ToString()()()().) |
![]() ![]() | TripleProduct |
Computes the triple product of three vectors.
|
![]() ![]() | Xyz2Radec |
Converts normalized (x, y, z) coordinates to (RA, Dec) angles.
|
![]() ![]() | Xyz2RadecRadian |
Converts normalized (x, y, z) coordinates to (RA, Dec) angles.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Determines whether two vectors are the same.
|
![]() ![]() | Inequality |
Determines whether two vectors are different.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() | NaN |
Is a vector of NaN coordinates.
|
![]() ![]() | Revision |
Revision from CVS
|
![]() ![]() | Xaxis |
Is the unit vector of the X axis: (1,0,0).
|
![]() ![]() | Yaxis |
Is the unit vector of the Y axis: (0,1,0).
|
![]() ![]() | Zaxis |
Is the unit vector of the Z axis: (0,0,1).
|
Properties
Name | Description | |
---|---|---|
![]() | Dec |
Gets the angular coordinate Dec,
which is computed on the fly.
|
![]() | Norm |
Gets the length of the vector.
|
![]() | Norm2 |
Gets the square of the length of the vector.
|
![]() | RA |
Gets the angular coordinate RA,
which is computed on the fly.
|
![]() | X |
Gets or sets the X coordinate of the vector.
|
![]() | Y |
Gets or sets the Y coordinate of the vector.
|
![]() | Z |
Gets or sets the Z coordinate of the vector.
|