.. auto-generated by dev_tools.docs.nxdl from the NXDL source base_classes/NXgeometry.nxdl.xml -- DO NOT EDIT .. index:: ! NXgeometry (base class) ! geometry (base class) see: geometry (base class); NXgeometry .. _NXgeometry: ========== NXgeometry ========== .. 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-08-26 **Status**: base class, extends :ref:`NXobject` .. index:: deprecated **DEPRECATED**: as decided at 2014 NIAC meeting, convert to use :ref:`NXtransformations` **Description**: .. collapse:: legacy class - recommend to use :ref:`NXtransformations` now ... legacy class - recommend to use :ref:`NXtransformations` now It is recommended that instances of :ref:`NXgeometry` be converted to use :ref:`NXtransformations`. This is the description for a general position of a component. It is recommended to name an instance of :ref:`NXgeometry` as "geometry" to aid in the use of the definition in simulation codes such as McStas. Also, in HDF, linked items must share the same name. However, it might not be possible or practical in all situations. **Symbols**: No symbol table **Groups cited**: :ref:`NXorientation`, :ref:`NXshape`, :ref:`NXtranslation` .. index:: NXshape (base class); used in base class, NXtranslation (base class); used in base class, NXorientation (base class); used in base class **Structure**: .. _/NXgeometry@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. .. _/NXgeometry/description-field: .. index:: description (field) **description**: (optional) :ref:`NX_CHAR ` .. collapse:: Optional description/label. Probably only present if we are ... Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component. .. _/NXgeometry/component_index-field: .. index:: component_index (field) **component_index**: (optional) :ref:`NX_INT ` .. collapse:: Position of the component along the beam path. The sample is at 0, components ... Position of the component along the beam path. The sample is at 0, components upstream have negative component_index, components downstream have positive component_index. .. _/NXgeometry/SHAPE-group: **SHAPE**: (optional) :ref:`NXshape` shape/size information of component .. _/NXgeometry/TRANSLATION-group: **TRANSLATION**: (optional) :ref:`NXtranslation` translation of component .. _/NXgeometry/ORIENTATION-group: **ORIENTATION**: (optional) :ref:`NXorientation` orientation of component Hypertext Anchors ----------------- List of hypertext anchors for all groups, fields, attributes, and links defined in this class. * :ref:`/NXgeometry/component_index-field ` * :ref:`/NXgeometry/description-field ` * :ref:`/NXgeometry/ORIENTATION-group ` * :ref:`/NXgeometry/SHAPE-group ` * :ref:`/NXgeometry/TRANSLATION-group ` * :ref:`/NXgeometry@default-attribute ` **NXDL Source**: https://github.com/nexusformat/definitions/blob/main/base_classes/NXgeometry.nxdl.xml