« User Manual 3.3 Spherical Caps » : différence entre les versions

De Patrius
Aller à la navigation Aller à la recherche
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... »
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
==== Definition ====
==== Definition ====


The spherical cap object is built from a [MAT_GEO_Spheres sphere] and a [MAT_GEO_Planes_CL plane] intersecting the sphere :  
The spherical cap object is built from a [[User Manual 3.3 Spheres|sphere]] and a [[User Manual 3.3 Planes|plane]] intersecting the sphere :  


[[File:spherecap.png|center]]
[[File:spherecap.png|center]]

Dernière version du 4 avril 2018 à 14:01

Definition

The spherical cap object is built from a sphere and a plane intersecting the sphere :

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.