User Manual 4.0 Spherical Caps : Différence entre versions

De Wiki
Aller à : navigation, rechercher
(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... »)
(Aucune différence)

Version du 4 avril 2018 à 08:54

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.