public class LebedevGridPoint extends Object
Constructor and Description |
---|
LebedevGridPoint(double xIn,
double yIn,
double zIn,
double weightIn)
Builds a new
LebedevGridPoint instance from the Cartesian
coordinates of the point and its associated weight. |
Modifier and Type | Method and Description |
---|---|
double |
getPhi()
Gets the azimuth angle between 0° (included) and 360° (excluded).
|
double |
getRadius()
Gets the radius.
|
double |
getTheta()
Gets the inclination angle between 0° (included) and 180° (included).
|
double |
getWeight()
Gets the weight associated to the point for Lebedev's rule.
|
double |
getX()
Gets the coordinate of the point on the 1st axis.
|
Vector3D |
getXYZ()
Gets the Cartesian coordinates of the point.
|
double |
getY()
Gets the coordinate of the point on the 2nd axis.
|
double |
getZ()
Gets the coordinate of the point on the 3rd axis.
|
boolean |
isSamePoint(LebedevGridPoint point,
double absolutePrecision)
Compare to another point.
|
public LebedevGridPoint(double xIn, double yIn, double zIn, double weightIn)
LebedevGridPoint
instance from the Cartesian
coordinates of the point and its associated weight.xIn
- coordinate of the point on the 1st axisyIn
- coordinate of the point on the 1st axiszIn
- coordinate of the point on the 1st axisweightIn
- weight associated to the pointpublic boolean isSamePoint(LebedevGridPoint point, double absolutePrecision)
point
- pointabsolutePrecision
- precisionpublic Vector3D getXYZ()
public double getX()
public double getY()
public double getZ()
public double getWeight()
public double getRadius()
public double getPhi()
public double getTheta()
Copyright © 2019 CNES. All rights reserved.