User Manual 3.3 Spherical Caps

De Wiki
Révision de 4 avril 2018 à 13:59 par Admin (discussion | contributions) (Page créée avec « ==== Definition ==== The spherical cap object is built from a [MAT_GEO_Spheres sphere] and a [MAT_GEO_Planes_CL plane] intersecting the sphere : File:spherecap.png|ce... »)

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

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.