User Manual 4.0 Infinite rectangle cone : Différence entre versions
De Wiki
(Page créée avec « ==== Definition ==== The infinite rectangle cones (infinite pyramids) are defined in a 3D space by their origin, their axis, a local frame (giving the orientation of the... ») |
|||
Ligne 7 : | Ligne 7 : | ||
==== Implementation ==== | ==== Implementation ==== | ||
− | The InfiniteRectangleCylinder object in the SIRIUS library implements the [ | + | The InfiniteRectangleCylinder 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/InfiniteRectangleCone.html Javadoc] for a complete list of public methods. |
Version actuelle en date du 5 avril 2018 à 07:38
Definition
The infinite rectangle cones (infinite pyramids) are defined in a 3D space by their origin, their axis, a local frame (giving the orientation of the rectangle) and the two half angles :
Implementation
The InfiniteRectangleCylinder 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 three vectors (Vector3D) and two doubles :
Vector3D originCone = new Vector3D(1.0, 1.0, 1.0); Vector3D axis = new Vector3D(2.0, 0.0, 0.0); Vector3D inputVectorU = new Vector3D(0.0, 1.0, 0.0); double angleU = FastMath.PI / 4.0; double angleV = FastMath.PI / 4.0; InfiniteRectangleCone cone = new InfiniteRectangleCone(originCone, axis, inputVectorU, angleU, angleV);
The local frame is built such as :
- The axis is the W vector
- 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.