User Manual 4.0 Spheres : Différence entre versions
De Wiki
(Page créée avec « ==== Definition ==== A sphere is an ellipsoid with equal equatorial and polar radii. Assuming the XYZ coordinate system is such that the sphere is centered and axis-align... ») |
|||
Ligne 8 : | Ligne 8 : | ||
==== Implementation ==== | ==== Implementation ==== | ||
− | The Sphere object in the SIRIUS library implements the [ | + | The Sphere object in the SIRIUS library implements the [[User Manual 4.0 The Ellipsoid Interface|Ellipsoid interface]]. Please refer to the [{{JavaDoc4.0}}/fr/cnes/sirius/patrius/math/geometry/euclidean/threed/Sphere.html Javadoc] for a complete list of public methods. |
==== Instantiation ==== | ==== Instantiation ==== |
Version actuelle en date du 5 avril 2018 à 07:42
Definition
A sphere is an ellipsoid with equal equatorial and polar radii. Assuming the XYZ coordinate system is such that the sphere is centered and axis-aligned, the spheres' equation is given by:
Implementation
The Sphere object in the SIRIUS library implements the Ellipsoid interface. Please refer to the Javadoc for a complete list of public methods.
Instantiation
The sphere object is built from a centre (Vector3D) and a radius :
Vector3D centre = new Vector3D(1.0, 5.0,-2.0); double radius = 1.2; Sphere sphere = new Sphere(centre, radius);
Usage
Please refer to the [MAT_GEO_Home#HInteractions Interactions with other geometrical objects section] for methods inherited from the Shape interface.