User Manual 4.0 Spherical Caps

De Wiki
Aller à : navigation, rechercher

Definition

The spherical cap object is built from a sphere and a 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.