User Manual 4.0 Elliptic cone : Différence entre versions

De Wiki
Aller à : navigation, rechercher
(Page créée avec « ==== Definition ==== The elliptic cones are defined in a 3D space by their origin (apex), their local frame, their height and the two angles defining the elliptic basis :... »)
 
 
Ligne 7 : Ligne 7 :
 
==== Implementation ====
 
==== Implementation ====
  
The EllipticCone object in the SIRIUS library implements the [MAT_GEO_ConeInterface Cone Interface]. Please refer to the [{{JavaDoc4.0}}/fr/cnes/sirius/patrius/math/geometry/euclidean/threed/EllipticCone.html Javadoc] for a complete list of public methods.
+
The EllipticCone object in the SIRIUS library implements the [[User Manual 4.0 The Cone Interface|Cone Interface]]. Please refer to the [{{JavaDoc4.0}}/fr/cnes/sirius/patrius/math/geometry/euclidean/threed/EllipticCone.html Javadoc] for a complete list of public methods.
  
 
==== Instantiation ====
 
==== Instantiation ====

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

Definition

The elliptic cones are defined in a 3D space by their origin (apex), their local frame, their height and the two angles defining the elliptic basis :

EllipticConeFinite.PNG

Implementation

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

Instantiation

The object is built from three vectors (Vector3D) and three doubles :

Vector3D originCone = new Vector3D(1.0, 1.0, 1.0);
Vector3D direction = new Vector3D(2.0, 0.0, 0.0);
Vector3D inputUvector = new Vector3D(1.0, 1.0, 0.0);
double angleU = FastMath.PI / 4.0;
double angleV = FastMath.PI / 8.0;
double height = 5.0;
EllipticCone cone = new EllipticCone(originCone, direction, inputUvector, angleU, angleV, height);

The local frame is built such as :

  • W is the direction vector once normalized
  • U is orthogonal to W and its direction is defined by the 'input U vector"
  • V completes the frame

Usage

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