User Manual 4.0 Infinite right circular cone : Différence entre versions

De Wiki
Aller à : navigation, rechercher
(Page créée avec « ====Definition==== Infinite right circular cones are defined in a 3D space by their origin, their axis and the half angle : center ====Implementation==... »)
 
 
Ligne 5 : Ligne 5 :
  
 
====Implementation====
 
====Implementation====
The InfiniteRightCircularCone object in the SIRIUS library implements the [MAT_GEO_InfiniteConeInterface InfiniteCone Interface]. Please refer to the [{{JavaDoc4.0}}/fr/cnes/sirius/patrius/math/geometry/euclidean/threed/InfiniteRightCircularCone.html Javadoc] for a complete list of public methods.
+
The InfiniteRightCircularCone object in the SIRIUS library implements the [[User Manual 4.0 The Infinite Cone Interface|InfiniteCone Interface]]. Please refer to the [{{JavaDoc4.0}}/fr/cnes/sirius/patrius/math/geometry/euclidean/threed/InfiniteRightCircularCone.html Javadoc] for a complete list of public methods.
  
 
====Instantiation====
 
====Instantiation====

Version actuelle en date du 5 avril 2018 à 07:36

Definition

Infinite right circular cones are defined in a 3D space by their origin, their axis and the half angle :

Cone.PNG

Implementation

The InfiniteRightCircularCone object in the SIRIUS library implements the InfiniteCone Interface. Please refer to the Javadoc for a complete list of public methods.

Instantiation

The object is built from two vectors (Vector3D) and a double :

Vector3D originCone = new Vector3D(1.0, 1.0, 1.0);
Vector3D axis = new Vector3D(2.0, 0.0, 0.0);
double angle = FastMath.PI / 4.0;
InfiniteRightCircularCone cone = new InfiniteRightCircularCone(originCone, axis, angle);

The local frame is built such as :

  • The axis is the W vector
  • U and V are two orthogonal and normalised vectors to complete the frame

Usage

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