.. auto-generated by dev_tools.docs.nxdl from the NXDL source base_classes/NXtranslation.nxdl.xml -- DO NOT EDIT .. index:: ! NXtranslation (base class) ! translation (base class) see: translation (base class); NXtranslation .. _NXtranslation: ============= NXtranslation ============= .. Contributors List .. |contrib_name| replace:: Pete R Jemian|prjemian|https://avatars.githubusercontent.com/u/2279984?v=4|2022-01-28 .. |contrib_name| replace:: Peter Chang|PeterC-DLS|https://avatars.githubusercontent.com/u/1381719?v=4|2020-10-20 .. |contrib_name| replace:: Tobias Richter|zjttoefs|https://avatars.githubusercontent.com/u/856440?v=4|2018-05-15 .. |contrib_name| replace:: Joachim Wuttke (l)|jwuttke|https://avatars.githubusercontent.com/u/5262000?v=4|2014-09-02 **Status**: base class, extends :ref:`NXobject` **Description**: legacy class - (used by :ref:`NXgeometry`) - general spatial location of a component. **Symbols**: No symbol table **Groups cited**: :ref:`NXgeometry` .. index:: NXgeometry (base class); used in base class **Structure**: .. _/NXtranslation@default-attribute: .. index:: default (file attribute) **@default**: (optional) :ref:`NX_CHAR ` .. collapse:: Declares which child group contains a path leading ... .. index:: plotting Declares which child group contains a path leading to a :ref:`NXdata` group. It is recommended (as of NIAC2014) to use this attribute to help define the path to the default dataset to be plotted. See https://www.nexusformat.org/2014_How_to_find_default_data.html for a summary of the discussion. .. _/NXtranslation/distances-field: .. index:: distances (field) **distances**: (optional) :ref:`NX_FLOAT ` (Rank: 2, Dimensions: [numobj, 3]) {units=\ :ref:`NX_LENGTH `} .. collapse:: (x,y,z) ... (x,y,z) This field describes the lateral movement of a component. The pair of groups NXtranslation and NXorientation together describe the position of a component. For absolute position, the origin is the scattering center (where a perfectly aligned sample would be) with the z-axis pointing downstream and the y-axis pointing gravitationally up. For a relative position the NXtranslation is taken into account before the NXorientation. The axes are right-handed and orthonormal. .. _/NXtranslation/geometry-group: **geometry**: (optional) :ref:`NXgeometry` Link to other object if we are relative, else absent Hypertext Anchors ----------------- List of hypertext anchors for all groups, fields, attributes, and links defined in this class. * :ref:`/NXtranslation/distances-field ` * :ref:`/NXtranslation/geometry-group ` * :ref:`/NXtranslation@default-attribute ` **NXDL Source**: https://github.com/nexusformat/definitions/blob/main/base_classes/NXtranslation.nxdl.xml