5 dernières pages visitées : User Manual 4.7 Math frameworksUser Manual 3.4.1 Spherical Caps

User Manual 3.4.1 Spherical Caps

De Patrius
Aller à la navigation Aller à la recherche

Definition

The spherical cap object is built from a [MAT_GEO_Spheres sphere] and a [MAT_GEO_Planes_CL plane] intersecting the sphere :

Spherecap.png

The plane is delimiting the spherical cap. This plane must intersect with the sphere by more than a single point, if not the spherical cap is considered undefined. The direction of the plane is used to determine in which side the spherical cap is : it is on the side of the normal vector.

Implementation

The SphericalCap object in the SIRIUS library implements the SolidShape interface. Please refer to the Javadoc for a complete list of public methods.

Instantiation

Code sample :

Sphere sphere = new Sphere(...);
Plane plane = new Plane(...);
SphericalCap spCap = new SphericalCap(sphere,plane);

Usage

Please refer to the [MAT_GEO_Home#HInteractions Interactions with other geometrical objects section] for methods inherited from the Shape interface.