.. auto-generated by script ../../../../utils/nxdl2rst.py from the NXDL source NXgeometry.nxdl.xml .. index:: ! NXgeometry (base class) ! geometry (base class) see: geometry (base class); NXgeometry .. _NXgeometry: ========== NXgeometry ========== **Status**: base class, extends :ref:`NXobject` .. index:: deprecated **DEPRECATED**: as decided at 2014 NIAC meeting, convert to use :ref:`NXtransformations` **Description**: 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**: .. index:: description (field) **description**: (optional) :ref:`NX_CHAR ` Optional description/label. Probably only present if we are an additional reference point for components rather than the location of a real component. .. index:: component_index (field) **component_index**: (optional) :ref:`NX_INT ` 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. **(shape)**: (optional) :ref:`NXshape` shape/size information of component **(translation)**: (optional) :ref:`NXtranslation` translation of component **(orientation)**: (optional) :ref:`NXorientation` orientation of component **NXDL Source**: https://github.com/nexusformat/definitions/blob/master/base_classes/NXgeometry.nxdl.xml